Reaction
This is a boxed type (a TL class): the Go interface tg.ReactionClass, implemented by
the constructors below. A value of this type is one of them — switch on the concrete
type to handle it.
switch v := value.(type) {
case *tg.ReactionCustomEmoji: // reactionCustomEmoji
case *tg.ReactionEmoji: // reactionEmoji
case *tg.ReactionEmpty: // reactionEmpty
case *tg.ReactionPaid: // reactionPaid
}
Constructors
| Constructor | TL name |
|---|---|
ReactionCustomEmoji | reactionCustomEmoji |
ReactionEmoji | reactionEmoji |
ReactionEmpty | reactionEmpty |
ReactionPaid | reactionPaid |