Layer 220
constructor
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Top flags.0?true If set, the reactor is one of the most active reactors; may be unset if the reactor is the current user.
My flags.1?true If set, this reactor is the current user.
Anonymous flags.2?true If set, the reactor is anonymous.
PeerId flags.3?Peer Identifier of the peer that reacted: may be unset for anonymous reactors different from the current user (i. e. if the current user sent an anonymous reaction anonymous will be set but this field will also be set).
Count int The number of sent Telegram Stars.

Returns

MessageReactor

Gogram Example

// Creating MessageReactor constructor
obj := &tg.MessageReactor{
    Count: 0,

    // Optional fields:
    // Top: true,
    // My: true,
    // Anonymous: true,
    // PeerId: &tg.Peer{},
}