Skip to content

messageMediaWidget

messageMediaWidget#2238f214 flags:# is_copy:flags.0?true can_query:flags.1?true background_query:flags.2?true width:int height:int payload:bytes public_data:flags.3?string public_data_hash:flags.3?long chat_data:flags.4?string widget_id:flags.5?long = MessageMedia;

MessageMedia

Name Type Flag Default Description
flags # flag word —
is_copy flags.0?true flags.0 —
can_query flags.1?true flags.1 —
background_query flags.2?true flags.2 —
width int — —
height int — —
payload bytes — —
public_data flags.3?string flags.3 —
public_data_hash flags.3?long flags.3 —
chat_data flags.4?string flags.4 —
widget_id flags.5?long flags.5 —
Parameter Bit Meaning
is_copy 0 Controlled by flags; present when this bit is set.
can_query 1 Controlled by flags; present when this bit is set.
background_query 2 Controlled by flags; present when this bit is set.
public_data 3 Controlled by flags; present when this bit is set.
public_data_hash 3 Controlled by flags; present when this bit is set.
chat_data 4 Controlled by flags; present when this bit is set.
widget_id 5 Controlled by flags; present when this bit is set.
from miniproto.raw.types import MessageMediaWidget

Public access: miniproto.raw.types.MessageMediaWidget.

MessageMedia

Schema sources