Raw.messages.SendVote
Vote in a poll
messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector<bytes> = Updates;
export namespace Raw {
export namespace messages {
export class SendVote {
constructor(params: { peer: Raw.TypeInputPeer; msgId: number; options: Array<Buffer> }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x10ea6184
Property
peer
: Raw.TypeInputPeerThe chat where the poll was sent
msgId
: numberThe message id of the poll
options
: Array of BufferThe options that were chosen