Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { // Title of channel Title string `json:"title"` // Members count Members int `json:"members"` // Description of channel Description string `json:"description"` // URL of channel avatar Avatar string `json:"avatar"` }
Channel it's Telegram channel.
type Chat ¶
type Chat struct { // Title of channel Title string `json:"title"` // Members count Members int `json:"members"` // Online members count Online int `json:"online"` // Description of channel Description string `json:"description,omitempty"` // URL of channel avatar Avatar string `json:"avatar,omitempty"` }
Chat it's Telegram Chat
type Parser ¶
func (*Parser) Parse ¶
Parse returns info parsed from t.me. Link can be something like: - User: t.me/MrLinch - Bot: t.me/crosser_bot - Channel: t.me/crosser_live - Chat: t.me/crosser_chat - Private Channel: t.me/joinchat/AAAAAENM1m0f_WHVNXjP4w - Private Chat: https://t.me/joinchat/BEqxykAVc_3aNu906D2v7A
Click to show internal directories.
Click to hide internal directories.