Skip to content

channels.getMessages

Layer 225

Constructor ID: 0xad8c9a23
Returns: Messages

Parameters

NameTypeDescription
channelInputChannel
id[]InputMessage

Example

go
result, err := client.Raw(&tg.GetMessagesRequest{
    channel: nil, // InputChannel
    id: nil,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.