api.getMessagePublicForwards()
Returns forwarded copies of a channel message to different public channels. For optimal performance, the number of returned messages is chosen by TDLib
Parameters
GetMessagePublicForwardsParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier of the message |
messageId | number | Message identifier |
offset | string | Offset of the first entry to return as received from the previous request; use empty string to get first chunk of results |
limit | number | The maximum number of messages to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getMessagePublicForwards' | 'error'
airgram: Airgram
request: {
method: 'getMessagePublicForwards'
params: GetMessagePublicForwardsParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}