messages.Messages

Object contains infor on list of messages with auxiliary data.

messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

---functions---

messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;
messages.getHistory#92a1df2f peer:InputPeer offset:int max_id:int limit:int = messages.Messages;
messages.search#7e9f2ab peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;

Constructors

messages.messages Full list of messages
messages.messagesSlice Incomplete list of messages

Methods

messages.getMessages Gets back the list of messages according to their identifiers
messages.getHistory Gets back the conversation history with one interlocutor / within a chat
messages.search Gets back found messages