Skip to content

channels.readHistory

Layer 225

Constructor ID: 0xcc104937
Returns: Bool

Parameters

NameTypeDescription
channelInputChannel
max_idint32

Example

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

Released under the Apache-2.0 License.