photo
Signature
Section titled “Signature”photo#fb197a65 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector<PhotoSize> video_sizes:flags.1?Vector<VideoSize> dc_id:int = Photo;Result type
Section titled “Result type”Photo
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| has_stickers | flags.0?true | flags.0 | — | |
| id | long | — | — | |
| access_hash | long | — | — | |
| file_reference | bytes | — | — | |
| date | int | — | — | |
| sizes | Vector |
— | — | |
| video_sizes | flags.1?Vector |
flags.1 | — | |
| dc_id | int | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| has_stickers | 0 | Controlled by flags; present when this bit is set. |
| video_sizes | 1 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PhotoPublic access: miniproto.raw.types.Photo.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
Photo - Related constructors:
photoEmpty - Accepted by:
botApp,botInfo,botInlineMediaResult,channelAdminLogEventActionChangePhoto,channelFull,chatFull,chatInvite,communityFull,game,messageActionChatEditPhoto,messageActionSuggestProfilePhoto,messageMediaDocument,messageMediaPhoto,page,photos.photo,photos.photos,photos.photosSlice,requestedPeerChannel,requestedPeerChat,requestedPeerUser,richMessage,sponsoredMessage,storyAlbum,userFull,webPage