Class: TD::Types::QuickReplyShortcut

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/quick_reply_shortcut.rb

Overview

Describes a shortcut that can be used for a quick reply.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#first_messageTD::Types::QuickReplyMessage

The first shortcut message.



8
9
10
# File 'lib/tdlib/types/quick_reply_shortcut.rb', line 8

def first_message
  @first_message
end

#idInteger

Unique shortcut identifier.



8
9
10
# File 'lib/tdlib/types/quick_reply_shortcut.rb', line 8

def id
  @id
end

#message_countInteger

The total number of messages in the shortcut.



8
9
10
# File 'lib/tdlib/types/quick_reply_shortcut.rb', line 8

def message_count
  @message_count
end

#nameTD::Types::String

The name of the shortcut that can be used to use the shortcut.



8
9
10
# File 'lib/tdlib/types/quick_reply_shortcut.rb', line 8

def name
  @name
end