Class: TD::Types::MessageContent::Poll

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/poll.rb

Overview

A message with a poll.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#pollTD::Types::Poll

Poll.

Returns:



5
6
7
# File 'lib/tdlib/types/message_content/poll.rb', line 5

def poll
  @poll
end