Layer 220
constructor
reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
ChosenOrder flags.0?int If set, indicates that the current user also sent this reaction. The integer value indicates when was the reaction added: the bigger the value, the newer the reaction.
Reaction Reaction The reaction.
Count int Number of users that reacted with this emoji.

Returns

ReactionCount

Gogram Example

// Creating ReactionCount constructor
obj := &tg.ReactionCount{
    Reaction: &tg.Reaction{},
    Count: 0,

    // Optional fields:
    // ChosenOrder: 0,
}