package models // ForumTopic https://core.telegram.org/bots/api#forumtopic type ForumTopic struct { MessageThreadID int `json:"message_thread_id"` Name string `json:"name"` IconColor int `json:"icon_color,omitempty"` IconCustomEmojiID string `json:"icon_custom_emoji_id,omitempty"` } // ForumTopicCreated https://core.telegram.org/bots/api#forumtopiccreated type ForumTopicCreated struct { Name string `json:"name"` IconColor int `json:"icon_color"` IconCustomEmojiID string `json:"icon_custom_emoji_id,omitempty"` } // ForumTopicClosed https://core.telegram.org/bots/api#forumtopicclosed type ForumTopicClosed struct { } // ForumTopicEdited https://core.telegram.org/bots/api#forumtopicedited type ForumTopicEdited struct { Name string `json:"name,omitempty"` IconCustomEmojiID string `json:"icon_custom_emoji_id,omitempty"` } // ForumTopicReopened https://core.telegram.org/bots/api#forumtopicreopened type ForumTopicReopened struct { } // GeneralForumTopicHidden https://core.telegram.org/bots/api#generalforumtopichidden type GeneralForumTopicHidden struct { } // GeneralForumTopicUnhidden https://core.telegram.org/bots/api#generalforumtopicunhidden type GeneralForumTopicUnhidden struct { } // UserShared https://core.telegram.org/bots/api#usershared type UserShared struct { RequestID int `json:"request_id"` UserID int64 `json:"user_id"` } // SharedUser https://core.telegram.org/bots/api#shareduser type SharedUser struct { UserID int64 `json:"user_id"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Username string `json:"username,omitempty"` Photo []PhotoSize `json:"photo,omitempty"` } // UsersShared https://core.telegram.org/bots/api#usersshared type UsersShared struct { RequestID int `json:"request_id"` Users []SharedUser `json:"users"` } // ChatShared https://core.telegram.org/bots/api#chatshared type ChatShared struct { RequestID int `json:"request_id"` ChatID int64 `json:"chat_id"` Title string `json:"title,omitempty"` Username string `json:"username,omitempty"` Photo []PhotoSize `json:"photo,omitempty"` } // WriteAccessAllowed https://core.telegram.org/bots/api#writeaccessallowed type WriteAccessAllowed struct { FromRequest bool `json:"from_request,omitempty"` WebAppName string `json:"web_app_name,omitempty"` FromAttachmentMenu bool `json:"from_attachment_menu,omitempty"` }