api.sendChatScreenshotTakenNotification()
Sends a notification about a screenshot taken in a chat. Supported only in private and secret chats
Parameters
SendChatScreenshotTakenNotificationParams:chevron_leftchevron_right
Parameters
Interface
| Name | Type | Description |
|---|---|---|
chatId | number | Chat identifier |
Returns
ApiResponse interface:interface ApiResponse {
_: 'sendChatScreenshotTakenNotification' | 'error'
airgram: Airgram
request: {
method: 'sendChatScreenshotTakenNotification'
params: SendChatScreenshotTakenNotificationParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}