Class: TD::Types::PushMessageContent::Sticker

Inherits:
TD::Types::PushMessageContent show all
Defined in:
lib/tdlib/types/push_message_content/sticker.rb

Overview

A message with a sticker.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#emojiTD::Types::String?

Emoji corresponding to the sticker; may be empty.

Returns:

  • (TD::Types::String, nil)

    the current value of emoji



7
8
9
# File 'lib/tdlib/types/push_message_content/sticker.rb', line 7

def emoji
  @emoji
end

#is_pinnedBoolean

True, if the message is a pinned message with the specified content.

Returns:

  • (Boolean)

    the current value of is_pinned



7
8
9
# File 'lib/tdlib/types/push_message_content/sticker.rb', line 7

def is_pinned
  @is_pinned
end

#stickerTD::Types::Sticker?

Message content; may be null.

Returns:



7
8
9
# File 'lib/tdlib/types/push_message_content/sticker.rb', line 7

def sticker
  @sticker
end