api.openMessageContent()
Informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message). An updateMessageContentOpened update will be generated if something has changed
Parameters
OpenMessageContentParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier of the message |
messageId | number | Identifier of the message with the opened content |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'openMessageContent' | 'error'
airgram: Airgram
request: {
method: 'openMessageContent'
params: OpenMessageContentParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}