class Hamilton::Types::PollOptionDeleted

Overview

Describes a service message about an option deleted from a poll.

Included Modules

Defined in:

types/poll_option_deleted.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def option_persistent_id : String #

Unique identifier of the deleted option.


def option_persistent_id=(option_persistent_id : String) #

Unique identifier of the deleted option.


def option_text : String #

Option text.


def option_text=(option_text : String) #

Option text.


def option_text_entities : Array(Hamilton::Types::MessageEntity) | Nil #

Special entities that appear in the #option_text.


def option_text_entities=(option_text_entities : Array(Hamilton::Types::MessageEntity) | Nil) #

Special entities that appear in the #option_text.


def poll_message : Hamilton::Types::MaybeInaccessibleMessage | Nil #

Message containing the poll to which the option was deleted, if known. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.


def poll_message=(poll_message : Hamilton::Types::MaybeInaccessibleMessage | Nil) #

Message containing the poll to which the option was deleted, if known. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.