Expand description
Protobuf-generated Inline protocol module.
Modules§
- bot_
avatar - Nested message and enum types in
BotAvatar. - bot_
presence_ state - Nested message and enum types in
BotPresenceState. - clear_
chat_ history_ input - Nested message and enum types in
ClearChatHistoryInput. - client_
message - Nested message and enum types in
ClientMessage. - connection_
error - Nested message and enum types in
ConnectionError. - dialog_
notification_ settings - Nested message and enum types in
DialogNotificationSettings. - get_
updates_ result - Nested message and enum types in
GetUpdatesResult. - input_
media - Nested message and enum types in
InputMedia. - input_
peer - Nested message and enum types in
InputPeer. - invite_
to_ space_ input - Nested message and enum types in
InviteToSpaceInput. - member
- Nested message and enum types in
Member. - message_
action - Nested message and enum types in
MessageAction. - message_
action_ response_ ui - Nested message and enum types in
MessageActionResponseUi. - message_
attachment - Nested message and enum types in
MessageAttachment. - message_
attachment_ external_ task - Nested message and enum types in
MessageAttachmentExternalTask. - message_
entity - Nested message and enum types in
MessageEntity. - message_
media - Nested message and enum types in
MessageMedia. - notification_
settings - Nested message and enum types in
NotificationSettings. - peer
- Nested message and enum types in
Peer. - photo
- Nested message and enum types in
Photo. - push_
content_ encryption_ key - Nested message and enum types in
PushContentEncryptionKey. - push_
notification_ method - Nested message and enum types in
PushNotificationMethod. - rpc_
call - Nested message and enum types in
RpcCall. - rpc_
error - Nested message and enum types in
RpcError. - rpc_
result - Nested message and enum types in
RpcResult. - server_
message - Nested message and enum types in
ServerMessage. - server_
protocol_ message - Nested message and enum types in
ServerProtocolMessage. - space_
member_ role - Nested message and enum types in
SpaceMemberRole. - update
- Nested message and enum types in
Update. - update_
bucket - Nested message and enum types in
UpdateBucket. - update_
clear_ chat_ history - Nested message and enum types in
UpdateClearChatHistory. - update_
compose_ action - Nested message and enum types in
UpdateComposeAction. - update_
new_ message_ notification - Nested message and enum types in
UpdateNewMessageNotification. - url_
preview - Nested message and enum types in
UrlPreview. - url_
preview_ media - Nested message and enum types in
UrlPreviewMedia. - user_
status - Nested message and enum types in
UserStatus.
Structs§
- Account
Session - Ack
- AddChat
Participant Input - AddChat
Participant Result - AddReaction
Input - Add reaction input
- AddReaction
Result - Add reaction result
- AddSpace
UrlPreview Exclusion Input - AddSpace
UrlPreview Exclusion Result - Answer
Message Action Input - Answer
Message Action Result - Apns
Notification Method - BotAvatar
- BotCommand
- BotPresence
State - Change
Username Input - Change
Username Result - Chat
- A thread
- Chat
Participant - Check
Username Input - Check
Username Result - Clear
BotAvatar Input - Clear
BotAvatar Result - Clear
Chat History Input - Clear
Chat History Result - Client
Message - Connection
Error - Connection
Init - Connection
Open - Create
BotInput - Create
BotResult - Create
Chat Input - Create
Chat Result - Create
Subthread Input - Create
Subthread Result - Delete
BotInput - Delete
BotResult - Delete
Chat Input - Delete
Chat Result - Delete
Member Input - Remove member from space
- Delete
Member Result - Remove member from space result
- Delete
Message Attachment Input - Request to remove a single message attachment from a message.
- Delete
Message Attachment Result - Result for removing a single message attachment.
- Delete
Messages Input - Delete
Messages Result - Delete
Reaction Input - Delete reaction input
- Delete
Reaction Result - Dialog
- Dialog
Notification Settings - Document
- Draft
Message - Apple only types
- Edit
Message Input - Edit
Message Result - Expo
Android Notification Method - Forward
Messages Input - Forward
Messages Result - GetBot
Commands Input - GetBot
Commands Result - GetBot
Presence Input - GetBot
Presence Result - GetChat
History Input - GetChat
History Result - GetChat
Input - GetChat
Participants Input - GetChat
Participants Result - GetChat
Result - GetChats
Input - GetChats
Result - GetMe
Input - GetMe
Result - GetMessages
Input - GetMessages
Result - GetPeer
BotCommands Input - GetPeer
BotCommands Result - GetPeer
Photo Input - GetPeer
Photo Result - GetSessions
Input - GetSessions
Result - GetSpace
Members Input - GetSpace
Members Result - GetSpace
UrlPreview Exclusions Input - GetSpace
UrlPreview Exclusions Result - GetUpdates
Input - GetUpdates
Result - GetUpdates
State Input - GetUpdates
State Result - GetUser
Settings Input - GetUser
Settings Result - Input
Chat Participant - Input
Media - Input
Media Document - Input
Media Nudge - Nudge message (empty payload)
- Input
Media Photo - Input
Media Video - Input
Media Voice - Input
Peer - Input
Peer Chat - Input
Peer Self - Input
Peer User - Invite
ToSpace Input - Invite
ToSpace Result - Invoke
Message Action Input - Invoke
Message Action Result - Last
Online - List
Bots Input - List
Bots Result - Mark
AsUnread Input - Mark dialog as unread
- Mark
AsUnread Result - Mark dialog as unread result
- Member
- Message
- Message
Action - Message
Action Callback - Message
Action Copy Text - Message
Action Response Ui - Message
Action Row - Message
Action Toast - Message
Actions - Message
Attachment - Message
Attachment External Task - Message
Attachments - Message
Document - Message
Entities - Message
Entity - Message
FwdHeader - Message
Media - WIP: add richer media/filtering metadata.
- Message
Nudge - Nudge message (empty payload)
- Message
Photo - Message
Reactions - Message
Replies - Message
Translation - Message
Video - Message
Voice - Move
Thread Input - Move a private thread between home (space_id unset) and a space (space_id set). v1 does NOT support cross-space moves or public threads.
- Move
Thread Result - Notification
Settings - Peer
- Peer
BotCommands - Peer
Chat - Peer
User - Photo
- Photo for message media, profile photo, space photo, or chat photo
- Photo
Size - PinMessage
Input - Pin or unpin a message for everyone
- PinMessage
Result - Ping
- Pong
- Push
Content Encryption Key - Push
Notification Method - Reaction
- Read
Messages Input - Read dialog history up to max_id (Telegram-style: peer + optional max_id).
- Read
Messages Result - Remove
Chat Participant Input - Remove
Chat Participant Result - Remove
Space UrlPreview Exclusion Input - Remove
Space UrlPreview Exclusion Result - Reserve
Chat IdsInput - Reserve
Chat IdsResult - Reserved
Chat Id - Reveal
BotToken Input - Reveal
BotToken Result - Revoke
Session Input - Revoke
Session Result - Rotate
BotToken Input - Rotate
BotToken Result - RpcCall
- RpcError
- RpcResult
- Search
Messages Input - Search
Messages Result - Send
Compose Action Input - Send
Compose Action Result - Send
Message Input - Send
Message Result - Server
Message - Server
Protocol Message - SetBot
Avatar Input - SetBot
Avatar Result - SetBot
Commands Input - SetBot
Commands Result - SetBot
Presence State Input - SetBot
Presence State Result - Show
InChat List Input - Show
InChat List Result - Space
- Space
Admin Options - Space
Member Options - Space
Member Role - Space
UrlPreview Exclusion - Translate
Messages Input - Translate
Messages Result - Update
- / —————————— Updates Subsystem
- Update
BotPresence - Update
BotProfile Input - Update
BotProfile Result - Update
Bucket - Update
Bucket Chat - Update
Bucket Space - Update
Bucket User - Update
Chat HasNew Updates - Update when a chat has new updates and client should fetch them
- Update
Chat Info - Update when chat title or emoji changes
- Update
Chat Info Input - Update
Chat Info Result - Update
Chat Moved - Update when a thread is moved between home and a space.
- Update
Chat Open - Update when a chat becomes chat-list-visible for a specific user.
- Update
Chat Participant Add - Update
Chat Participant Delete - Update
Chat Skip Pts - Update
Chat Visibility - Update when chat visibility changes (public/private)
- Update
Chat Visibility Input - Update
Chat Visibility Result - Update
Clear Chat History - Update
Compose Action - Update when a user starts or stops composing a message for typing, uploading a photo, etc
- Update
Delete Chat - Update when a chat is deleted
- Update
Delete Messages - Update when messages are deleted
- Update
Delete Reaction - Update
Dialog Archived - Update when a dialog is archived or unarchived
- Update
Dialog Follow Mode - Update when reply-thread follow mode changes.
- Update
Dialog Follow Mode Input - Update
Dialog Follow Mode Result - Update
Dialog Notification Settings - Update when per-chat notification settings change
- Update
Dialog Notification Settings Input - Update
Dialog Notification Settings Result - Update
Dialog Open Input - Update
Dialog Open Result - Update
Dialog Order Input - Update
Dialog Order Result - Update
Edit Message - Update when a message is edited
- Update
Join Space - Update when we joined a space
- Update
Mark AsUnread - Update when a dialog is marked as unread
- Update
Member Access Input - Update an existing member’s access/role within a space
- Update
Member Access Result - Update
Message Action Answered - Update
Message Action Invoked - Update
Message Attachment - Update
Message Id - Update when a message ID is updated after sending
- Update
NewChat - Update when a new chat is created either in space or a private chat
- Update
NewMessage - Update when a new message is created
- Update
NewMessage Notification - Update
Pinned Messages - Update when pinned messages change for a chat
- Update
Profile Input - Update
Profile Result - Update
Push Notification Details Input - Register/update push notification details for the current session.
- Update
Push Notification Details Result - Update
Reaction - Update
Read MaxId - Update when we read up to a certain message ID
- Update
Sidecars - Update
Space HasNew Updates - Update
Space Member Add - Update when a new space member is added
- Update
Space Member Delete - Update when a space member is removed
- Update
Space Member Update - Update when a space member’s access/role changes
- Update
Updated User - Update when a user’s profile/account fields change.
- Update
User Settings - Update
User Settings Input - Update
User Settings Result - Update
User Status - Updates
Payload - UrlPreview
- UrlPreview
Embed - Provider/player embed metadata.
- UrlPreview
External Video - Direct remote video metadata for playable previews without duplicating Video storage.
- UrlPreview
Layout - Layout hints for URL preview clients.
- UrlPreview
Media - Typed media attached to a URL preview.
- User
- User
Profile Photo - User
Settings - User
Status - Video
- Voice