Telegram::ChatShared
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: ChatShared This object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button.
Constructors
new(request_id : Int64, chat_id : Int32 | Int64, title : String | Nil = nil, username : String | Nil = nil, photo : Array(PhotoSize) | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
chat_id
clone
Sourcecopy_with(request_id _request_id = @request_id, chat_id _chat_id = @chat_id, title _title = @title, username _username = @username, photo _photo = @photo)
Sourcephoto
request_id
title
username