Class: TD::Types::Update::ChatIsPinned

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_is_pinned.rb

Overview

A chat was pinned or unpinned.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



7
8
9
# File 'lib/tdlib/types/update/chat_is_pinned.rb', line 7

def chat_id
  @chat_id
end

#is_pinnedBoolean

New value of is_pinned.

Returns:

  • (Boolean)

    the current value of is_pinned



7
8
9
# File 'lib/tdlib/types/update/chat_is_pinned.rb', line 7

def is_pinned
  @is_pinned
end

#orderInteger

New value of the chat order.

Returns:

  • (Integer)

    the current value of order



7
8
9
# File 'lib/tdlib/types/update/chat_is_pinned.rb', line 7

def order
  @order
end