VkDartChatPinUpdate class
Sub-updates model: chat_pin_message
, chat_unpin_message
.
- Inheritance
-
- Object
- MessageModel
- VkDartMessageUpdate
- VkDartChatPinUpdate
Constructors
- VkDartChatPinUpdate(Vkontakte _vkontakte, VkDartUpdate update)
Properties
-
action
→ Map<
String, dynamic> ? -
Information about the service action with the chat.
no setterinherited
- actionEmail → String?
-
Email invited or excluded.
no setterinherited
- actionMemberId → int?
-
The ID of the user who was invited or excluded from the chat, or who pinned or unpinned the message.
no setterinherited
- actionOldText → String?
-
An old conversation title.
no setterinherited
- actionPhoto50 → String?
-
The URL of the 50 px wide copy of the conversation photo.
no setterinherited
- actionPhoto100 → String?
-
The URL of the 100 px wide copy of the conversation photo.
no setterinherited
- actionPhoto200 → String?
-
The URL of the 200 px wide copy of the conversation photo.
no setterinherited
- actionText → String?
-
New title of the conversation.
no setterinherited
- actionType → String?
-
Chat action type.
no setterinherited
- adminAuthorId → int?
-
For community messages only. Contains the ID of the user (community administrator) who sent this message.
no setterinherited
- adminId → int?
-
ID of the conversation creator.
no setterinherited
-
attachments
→ List<
AttachmentModel> -
Media attachments of the message (photos, links, etc.).
no setterinherited
-
chatActive
→ List<
int> ? -
IDs of the authors of the last messages of the conversation.
no setterinherited
- chatId → int?
-
The ID of the conversation.
no setterinherited
-
clientInfo
→ Map<
String, dynamic> -
Client info.
no setterinherited
- conversationMessageId → int?
-
A unique automatically incrementing number for all messages with this peer.
no setterinherited
- createdAt → int?
-
The time of sending in Unix time.
no setterinherited
-
forwards
→ List<
MessageModel> ? -
the archive of forwarded messages (if any).
The maximum number of elements is 100.
The maximum nesting depth for forwarded messages is 45, the total maximum number in the chain, taking into account nesting, is 500.
no setterinherited
-
geo
→ Map<
String, dynamic> ? -
Location Information.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
The ID of the message.
no setterinherited
- isChat → bool
-
Whether this dialog is in a chat.
no setterinherited
- isCropped → bool?
-
This message is cropped for the bot.
no setterinherited
- isEdit → bool
-
Check is message edit.
no setterinherited
- isFromGroup → bool
-
Whether the sender is a group.
no setterinherited
- isFromUser → bool
-
Whether the sender is a user.
no setterinherited
- isGroup → bool
-
Is this a dialogue with the group.
no setterinherited
- isImportant → bool?
-
true if the message is marked as important.
no setterinherited
- isInbox → bool
-
Whether the message is inboxed.
no setterinherited
- isMentionedUser → bool?
-
The flag indicates whether the user is mentioned in this message.
Added since version 5.217
no setterinherited
- isNew → bool
-
Check is message new.
no setterinherited
- isOutbox → bool
-
Whether the message is out.
no setterinherited
- isPin → bool
-
Check type is
chat_pin_message
.no setterinherited - isReply → bool
-
Check is message reply.
no setterinherited
- isUnpin → bool
-
Check type is
chat_unpin_message
.no setterinherited - isUser → bool
-
Is this a dialog with the user.
no setterinherited
- isWasListened → bool?
-
Whether the attached audio message has already been listened to by you.
no setterinherited
-
keyboard
→ Map<
String, dynamic> ? -
A keyboard object for bots.
no setterinherited
- memberId → int
-
ID of the user who pinned/unpinned the message.
no setterinherited
- membersCount → int?
-
The number of participants.
no setterinherited
-
message
→ Map<
String, dynamic> -
Message object.
no setterinherited
- messagePayload → String?
-
A service field for messages to bots (payload).
no setterinherited
- messageTag → String?
-
A string for matching the Notify user and VKontakte.
no setterinherited
-
payload
↔ Map<
String, dynamic> -
Update data.
latefinalinherited
- peerId → int
-
The destination ID.
no setterinherited
- peerType → MessageSource
-
The type of destination.
no setterinherited
- pinConversationMessageId → int
-
ID of the conversation in which the message was pinned/unpinned.
no setterinherited
- pinnedAt → int?
-
The date when the message was pinned to Unixtime.
no setterinherited
-
pushSettings
→ Map<
String, dynamic> ? -
Notification settings for the conversation, if any.
no setterinherited
- randomId → int?
-
The ID used when sending the message.
It is returned only for outgoing messages.
no setterinherited
- ref → String?
-
An arbitrary parameter for working with transition
sources.
no setterinherited
- refSource → String?
-
An arbitrary parameter for working with transition
sources.
no setterinherited
- replyMessage → MessageModel?
-
The message that the current one was sent in response to.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- senderId → int
-
The sender's ID.
no setterinherited
- senderType → MessageSource
-
The sender's type.
no setterinherited
- text → String
-
The text of the message.
no setterinherited
- update → VkDartUpdate
-
finalinherited
- updateTime → int?
-
The date when the message was updated in Unixtime.
no setterinherited
- usersCount → int?
-
The number of participants in the conversation.
no setterinherited
Methods
-
applyPayload(
Map< String, dynamic> payload) → void -
Apply payload.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replySendMessage(
{String? message, int? randomId, String? domain, int? guid, int? lat, int? long, List? attachment, List< int> ? forwardMessages, int? stickerId, VkDartKeyboard? keyboard, Map<String, dynamic> ? template, String? payload, Map<String, dynamic> ? contentSource, bool? dontParseLinks, bool? disableMentions, String? intent, int? subscribeId}) → Future<List< MessageModel> > -
Responds to a message in the dialog from which the event came.
More detailed documentation: sendMessage
inherited
-
sendMessage(
{List< int> ? peerIds, String? message, int? randomId, String? domain, int? guid, int? lat, int? long, List? attachment, int? replyTo, List<int> ? forwardMessages, Map<String, dynamic> ? forward, int? stickerId, VkDartKeyboard? keyboard, Map<String, dynamic> ? template, String? payload, Map<String, dynamic> ? contentSource, bool? dontParseLinks, bool? disableMentions, String? intent, int? subscribeId}) → Future<List< MessageModel> > -
Sends a message to the dialog from which the event came.
If you want to send to multiple dialogs, specify the
peerIds
argument.inherited -
setActivity(
) → Future< bool> -
Changes the status of the dialog - the user has started typing.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited