Class: TD::Types::PremiumGiveawayParticipantStatus::Administrator

Inherits:
TD::Types::PremiumGiveawayParticipantStatus show all
Defined in:
lib/tdlib/types/premium_giveaway_participant_status/administrator.rb

Overview

The user can’t participate in the giveaway, because they are an administrator in one of the chats that created the

giveaway.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Identifier of the chat administered by the user.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end