Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExportTypeTime string = "time" ExportTypeID string = "id" ExportTypeLast string = "last" )
View Source
const ( DialogGroup = "group" DialogPrivate = "private" DialogChannel = "channel" DialogUnknown = "unknown" )
External designation, different from Telegram mtproto
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dialog ¶ added in v0.9.1
type Dialog struct { ID int64 `json:"id" comment:"ID of dialog"` Type string `json:"type" comment:"Type of dialog. Can be 'user', 'channel' or 'group'"` VisibleName string `json:"visible_name,omitempty" comment:"Title of channel and group, first and last name of user. If empty, output '-'"` Username string `json:"username,omitempty" comment:"Username of dialog. If empty, output '-'"` Topics []Topic `json:"topics,omitempty" comment:"Topics of dialog. If not set, output '-'"` }
type ExportOptions ¶ added in v0.7.0
type ListOptions ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.