Fetch (a subset or all) messages in a quick reply shortcut ».
messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#3a54685e flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#c776ba4e flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesNotModified#74535f21 count:int = messages.Messages;
---functions---
messages.getQuickReplyMessages#94a495c3 flags:# shortcut_id:int id:flags.0?Vector<int> hash:long = messages.Messages;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
shortcut_id | int | Quick reply shortcut ID. |
id | flags.0?Vector<int> | IDs of the messages to fetch, if empty fetches all of them. |
hash | long | Hash used for caching, for more info click here |
Code | Type | Description |
---|---|---|
400 | SHORTCUT_INVALID | The specified shortcut is invalid. |
How to fetch results from large lists of objects.
Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.