Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 856 Bytes

ChatBoostSourceGiveaway.md

File metadata and controls

24 lines (18 loc) · 856 Bytes

TelegramBotOpenapi::ChatBoostSourceGiveaway

Properties

Name Type Description Notes
source String Source of the boost, always "giveaway"
giveaway_message_id Integer Identifier of a message in the chat with the giveaway; the message could have been deleted already. May be 0 if the message isn't sent yet.
user User Optional. User that won the prize in the giveaway if any [optional]
is_unclaimed Boolean Optional. True, if the giveaway was completed, but there was no user to win the prize [optional]

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::ChatBoostSourceGiveaway.new(
  source: null,
  giveaway_message_id: null,
  user: null,
  is_unclaimed: null
)