messages.AvailableReactions
- class pyrogram.raw.types.messages.AvailableReactions
Animations and metadata associated with message reactions »
Constructor of
AvailableReactions.- Details:
Layer:
223ID:
768E3AAD
- Parameters:
hash (
int32-bit) – Hash used for caching, for more info click herereactions (List of
AvailableReaction) – Animations and metadata associated with message reactions »
- Functions:
This object can be returned by 1 function.
Obtain available message reactions »
TL Schema
messages.availableReactions#768e3aad
hash:int
reactions:Vector<AvailableReaction>
= messages.AvailableReactions
Parameter Tree
AvailableReactions
├── hash →
int└── reactions →
Vector < AvailableReaction >├── inactive →
true (optional)├── premium →
true (optional)├── reaction →
string├── title →
string├── static_icon →
Document│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── appear_animation →
Document│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── select_animation →
Document│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── activate_animation →
Document│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── effect_animation →
Document│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── around_animation →
Document (optional)│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio└── center_icon →
Document (optional)├──
DocumentEmpty│ └── id →
long└──
Document├── id →
long├── access_hash →
long├── file_reference →
bytes├── date →
int├── mime_type →
string├── size →
long├── thumbs →
Vector < PhotoSize > (optional)│ ├──
PhotoSizeEmpty│ ├──
PhotoSize│ ├──
PhotoCachedSize│ ├──
PhotoStrippedSize│ ├──
PhotoSizeProgressive│ └──
PhotoPathSize├── video_thumbs →
Vector < VideoSize > (optional)│ ├──
VideoSize│ ├──
VideoSizeEmojiMarkup│ └──
VideoSizeStickerMarkup├── dc_id →
int└── attributes →
Vector < DocumentAttribute >Example
AvailableReactions(
hash=0,
reactions=[
AvailableReaction(
reaction="text",
title="text",
static_icon=DocumentEmpty(id=0),
appear_animation=DocumentEmpty(id=0),
select_animation=DocumentEmpty(id=0),
activate_animation=DocumentEmpty(id=0),
effect_animation=DocumentEmpty(id=0)
)
],
)