Messages class

Messages class

Constructors

Messages(API api)
Messages

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addChatUser([Map<String, dynamic> params]) → Future
Adds a new user to a chat. [...]
allowMessagesFromGroup([Map<String, dynamic> params]) → Future
Allows sending messages from community to the current user. [...]
createChat([Map<String, dynamic> params]) → Future
Creates a chat with several participants. [...]
delete([Map<String, dynamic> params]) → Future
Deletes one or more messages. [...]
deleteChatPhoto([Map<String, dynamic> params]) → Future
Deletes a chat's cover picture. [...]
deleteConversation([Map<String, dynamic> params]) → Future
Deletes all private messages in a conversation. [...]
denyMessagesFromGroup([Map<String, dynamic> params]) → Future
Denies sending message from community to the current user. [...]
edit([Map<String, dynamic> params]) → Future
Edits the message. [...]
editChat([Map<String, dynamic> params]) → Future
Edits the title of a chat. [...]
getByConversationMessageId([Map<String, dynamic> params]) → Future
Returns messages by their IDs within the conversation. [...]
getById([Map<String, dynamic> params]) → Future
Returns messages by their IDs. [...]
getChatPreview([Map<String, dynamic> params]) → Future
Params: [...]
getConversationMembers([Map<String, dynamic> params]) → Future
Returns a list of IDs of users participating in a chat. [...]
getConversations([Map<String, dynamic> params]) → Future
Returns a list of the current user's conversations. [...]
getConversationsById([Map<String, dynamic> params]) → Future
Returns conversations by their IDs [...]
getHistory([Map<String, dynamic> params]) → Future
Returns message history for the specified user or group chat. [...]
getHistoryAttachments([Map<String, dynamic> params]) → Future
Returns media files from the dialog or group chat. [...]
Params: [...]
getLastActivity([Map<String, dynamic> params]) → Future
Returns a user's current status and date of last activity. [...]
getLongPollHistory([Map<String, dynamic> params]) → Future
Returns updates in user's private messages. [...]
getLongPollServer([Map<String, dynamic> params]) → Future
Returns data required for connection to a Long Poll server. [...]
isMessagesFromGroupAllowed([Map<String, dynamic> params]) → Future
Returns information whether sending messages from the community to current user is allowed. [...]
Params: [...]
markAsAnsweredConversation([Map<String, dynamic> params]) → Future
Marks and unmarks conversations as unanswered. [...]
markAsImportant([Map<String, dynamic> params]) → Future
Marks and unmarks messages as important (starred). [...]
markAsImportantConversation([Map<String, dynamic> params]) → Future
Marks and unmarks conversations as important. [...]
markAsRead([Map<String, dynamic> params]) → Future
Marks messages as read. [...]
pin([Map<String, dynamic> params]) → Future
Pin a message. [...]
removeChatUser([Map<String, dynamic> params]) → Future
Allows the current user to leave a chat or, if the current user started the chat, allows the user to remove another user from the chat. [...]
restore([Map<String, dynamic> params]) → Future
Restores a deleted message. [...]
Returns a list of the current user's private messages that match search criteria. [...]
searchConversations([Map<String, dynamic> params]) → Future
Returns a list of the current user's conversations that match search criteria. [...]
send([Map<String, dynamic> params]) → Future
Sends a message. [...]
setActivity([Map<String, dynamic> params]) → Future
Changes the status of a user as typing in a conversation. [...]
setChatPhoto([Map<String, dynamic> params]) → Future
Sets a previously-uploaded picture as the cover picture of a chat. [...]
toString() → String
Returns a string representation of this object.
unpin([Map<String, dynamic> params]) → Future
Params: [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited