Skip to content

//core/com.petersamokhin.vksdk.core.model.event

Package com.petersamokhin.vksdk.core.model.event

Types

Name Summary
IncomingMessage [common]
data class IncomingMessage(id: Int, date: Int, peerId: Int, fromId: Int, text: String, randomId: Int, ref: String?, refSource: String?, attachments: List, important: Boolean, geo: IncomingMessage.Geo?, payload: String?, keyboard: IncomingMessage.Keyboard?, fwdMessages: List<MessagePartial>, replyMessage: JsonElement?, action: IncomingMessage.Action?, isHidden: Boolean?)
VK incoming message object, e.g.
MessageNew [common]
data class MessageNew(message: IncomingMessage, clientInfo: MessageNew.ClientInfo)
MessagePartial [common]
data class MessagePartial(id: Int, date: Int, fromId: Int, randomId: Int?, text: String, attachments: List, conversationMessageId: Int, peerId: Int, out: Int?, updateTime: Int?)
Forwarded messages, edited messages, etc
RawEvent [common]
data class RawEvent(type: String, object: JsonObject, groupId: Int)