public static class TdApi.AvailableReactions extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowCustomEmoji
True, if any custom emoji reaction can be added by Telegram Premium subscribers.
|
boolean |
areTags
True, if the reactions will be tags and the message can be found by them.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.AvailableReaction[] |
popularReactions
List of popular reactions.
|
TdApi.AvailableReaction[] |
recentReactions
List of recently used reactions.
|
TdApi.AvailableReaction[] |
topReactions
List of reactions to be shown at the top.
|
TdApi.ReactionUnavailabilityReason |
unavailabilityReason
The reason why the current user can't add reactions to the message, despite some other users can; may be null if none.
|
| Constructor and Description |
|---|
AvailableReactions()
Represents a list of reactions that can be added to a message.
|
AvailableReactions(TdApi.AvailableReaction[] topReactions,
TdApi.AvailableReaction[] recentReactions,
TdApi.AvailableReaction[] popularReactions,
boolean allowCustomEmoji,
boolean areTags,
TdApi.ReactionUnavailabilityReason unavailabilityReason)
Represents a list of reactions that can be added to a message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.AvailableReaction[] topReactions
public TdApi.AvailableReaction[] recentReactions
public TdApi.AvailableReaction[] popularReactions
public boolean allowCustomEmoji
public boolean areTags
public TdApi.ReactionUnavailabilityReason unavailabilityReason
public static final int CONSTRUCTOR
public AvailableReactions()
public AvailableReactions(TdApi.AvailableReaction[] topReactions, TdApi.AvailableReaction[] recentReactions, TdApi.AvailableReaction[] popularReactions, boolean allowCustomEmoji, boolean areTags, TdApi.ReactionUnavailabilityReason unavailabilityReason)
topReactions - List of reactions to be shown at the top.recentReactions - List of recently used reactions.popularReactions - List of popular reactions.allowCustomEmoji - True, if any custom emoji reaction can be added by Telegram Premium subscribers.areTags - True, if the reactions will be tags and the message can be found by them.unavailabilityReason - The reason why the current user can't add reactions to the message, despite some other users can; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object