Skip to content

messages.deleteHistory

Layer 225

Constructor ID: 0xb08f922a
Returns: AffectedHistory

Parameters

NameTypeDescription
just_clearbool (flags.0, optional)
revokebool (flags.1, optional)
peerInputPeer
max_idint32
min_dateint32 (flags.2, optional)
max_dateint32 (flags.3, optional)

Example

go
result, err := client.Raw(&tg.DeleteHistoryRequest{
    just_clear: false,
    revoke: false,
    peer: nil, // InputPeer
    max_id: 0,
    min_date: 0,
    max_date: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.