Layer 224
constructor
updateReadHistoryInbox#9e84bc99 flags:# folder_id:flags.0?int peer:Peer top_msg_id:flags.1?int max_id:int still_unread_count:int pts:int pts_count:int = Update;

Parameters

Name Type Description
FolderId flags.0?int Peer folder ID, for more info click here
Peer Peer Peer
TopMsgId flags.1?int If set, the messages were read only within the specified bot forum topic.
MaxId int Maximum ID of messages read
StillUnreadCount int Number of messages that are still unread
Pts int Event count after generation
PtsCount int Number of events that were generated

Returns

Update

Gogram Example

// Creating UpdateReadHistoryInbox constructor
obj := &tg.UpdateReadHistoryInbox{
    Peer: &tg.Peer{},
    MaxId: 42,
    StillUnreadCount: 42,
    Pts: 42,
    PtsCount: 42,

    // Optional fields:
    // FolderId: 42,
    // TopMsgId: 42,
}