Class: TD::Types::InputMessageContent::Dice

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_message_content/dice.rb

Overview

A dice message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#clear_draftBoolean

True, if a chat message draft should be deleted.

Returns:

  • (Boolean)

    the current value of clear_draft



6
7
8
# File 'lib/tdlib/types/input_message_content/dice.rb', line 6

def clear_draft
  @clear_draft
end

#emojiTD::Types::String

Emoji on which the dice throw animation is based.

Returns:

  • (TD::Types::String)

    the current value of emoji



6
7
8
# File 'lib/tdlib/types/input_message_content/dice.rb', line 6

def emoji
  @emoji
end