Documentation ¶
Index ¶
- Variables
- func BestThreads(size int64, max int) int
- func FileExists(msg tg.MessageClass) bool
- func GetBlockedDialogs(ctx context.Context, client *tg.Client) (map[int64]struct{}, error)
- func GetGroupedMessages(ctx context.Context, c *tg.Client, peer tg.InputPeerClass, msg *tg.Message) ([]*tg.Message, error)
- func GetInputPeer(ctx context.Context, manager *peers.Manager, from string) (peers.Peer, error)
- func GetInputPeerID(peer tg.InputPeerClass) int64
- func GetPeerID(peer tg.PeerClass) int64
- func GetSingleMessage(ctx context.Context, c *tg.Client, peer tg.InputPeerClass, msg int) (*tg.Message, error)
- func ParseMessageLink(ctx context.Context, manager *peers.Manager, s string) (peers.Peer, int, error)
- type Messages
Constants ¶
This section is empty.
Variables ¶
View Source
var Device = telegram.DeviceConfig{
DeviceModel: "Desktop",
SystemVersion: "Windows 10",
AppVersion: "4.2.4 x64",
LangCode: "en",
SystemLangCode: "en-US",
LangPack: "tdesktop",
}
Functions ¶
func BestThreads ¶
func FileExists ¶
func FileExists(msg tg.MessageClass) bool
func GetBlockedDialogs ¶
func GetGroupedMessages ¶
func GetInputPeer ¶
func GetInputPeerID ¶
func GetInputPeerID(peer tg.InputPeerClass) int64
func GetSingleMessage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.