Class: TD::Types::EmojiStatus

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

Overview

Describes a custom emoji to be shown instead of the Telegram Premium badge.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#custom_emoji_idInteger

Identifier of the custom emoji in StickerFormat::Tgs format.

Returns:

  • (Integer)

    the current value of custom_emoji_id



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

def custom_emoji_id
  @custom_emoji_id
end

#expiration_dateInteger

Point in time (Unix timestamp) when the status will expire; 0 if never.

Returns:

  • (Integer)

    the current value of expiration_date



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

def expiration_date
  @expiration_date
end