struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

chat_id
clone
Source
copy_with(request_id _request_id = @request_id, chat_id _chat_id = @chat_id, title _title = @title, username _username = @username, photo _photo = @photo)
Source
photo
request_id
title
username