type github.com/gotd/td/tg.Config
101 uses
github.com/gotd/td/tg (current package)
tl_config_gen.go#L38: type Config struct {
tl_config_gen.go#L216: _ bin.Encoder = &Config{}
tl_config_gen.go#L217: _ bin.Decoder = &Config{}
tl_config_gen.go#L218: _ bin.BareEncoder = &Config{}
tl_config_gen.go#L219: _ bin.BareDecoder = &Config{}
tl_config_gen.go#L222: func (c *Config) Zero() bool {
tl_config_gen.go#L375: func (c *Config) String() string {
tl_config_gen.go#L379: type Alias Config
tl_config_gen.go#L384: func (c *Config) FillFrom(from interface {
tl_config_gen.go#L518: func (*Config) TypeID() uint32 {
tl_config_gen.go#L523: func (*Config) TypeName() string {
tl_config_gen.go#L528: func (c *Config) TypeInfo() tdp.Type {
tl_config_gen.go#L747: func (c *Config) SetFlags() {
tl_config_gen.go#L799: func (c *Config) Encode(b *bin.Buffer) error {
tl_config_gen.go#L808: func (c *Config) EncodeBare(b *bin.Buffer) error {
tl_config_gen.go#L894: func (c *Config) Decode(b *bin.Buffer) error {
tl_config_gen.go#L905: func (c *Config) DecodeBare(b *bin.Buffer) error {
tl_config_gen.go#L1227: func (c *Config) SetDefaultP2PContacts(value bool) {
tl_config_gen.go#L1238: func (c *Config) GetDefaultP2PContacts() (value bool) {
tl_config_gen.go#L1246: func (c *Config) SetPreloadFeaturedStickers(value bool) {
tl_config_gen.go#L1257: func (c *Config) GetPreloadFeaturedStickers() (value bool) {
tl_config_gen.go#L1265: func (c *Config) SetRevokePmInbox(value bool) {
tl_config_gen.go#L1276: func (c *Config) GetRevokePmInbox() (value bool) {
tl_config_gen.go#L1284: func (c *Config) SetBlockedMode(value bool) {
tl_config_gen.go#L1295: func (c *Config) GetBlockedMode() (value bool) {
tl_config_gen.go#L1303: func (c *Config) SetForceTryIpv6(value bool) {
tl_config_gen.go#L1314: func (c *Config) GetForceTryIpv6() (value bool) {
tl_config_gen.go#L1322: func (c *Config) GetDate() (value int) {
tl_config_gen.go#L1330: func (c *Config) GetExpires() (value int) {
tl_config_gen.go#L1338: func (c *Config) GetTestMode() (value bool) {
tl_config_gen.go#L1346: func (c *Config) GetThisDC() (value int) {
tl_config_gen.go#L1354: func (c *Config) GetDCOptions() (value []DCOption) {
tl_config_gen.go#L1362: func (c *Config) GetDCTxtDomainName() (value string) {
tl_config_gen.go#L1370: func (c *Config) GetChatSizeMax() (value int) {
tl_config_gen.go#L1378: func (c *Config) GetMegagroupSizeMax() (value int) {
tl_config_gen.go#L1386: func (c *Config) GetForwardedCountMax() (value int) {
tl_config_gen.go#L1394: func (c *Config) GetOnlineUpdatePeriodMs() (value int) {
tl_config_gen.go#L1402: func (c *Config) GetOfflineBlurTimeoutMs() (value int) {
tl_config_gen.go#L1410: func (c *Config) GetOfflineIdleTimeoutMs() (value int) {
tl_config_gen.go#L1418: func (c *Config) GetOnlineCloudTimeoutMs() (value int) {
tl_config_gen.go#L1426: func (c *Config) GetNotifyCloudDelayMs() (value int) {
tl_config_gen.go#L1434: func (c *Config) GetNotifyDefaultDelayMs() (value int) {
tl_config_gen.go#L1442: func (c *Config) GetPushChatPeriodMs() (value int) {
tl_config_gen.go#L1450: func (c *Config) GetPushChatLimit() (value int) {
tl_config_gen.go#L1458: func (c *Config) GetEditTimeLimit() (value int) {
tl_config_gen.go#L1466: func (c *Config) GetRevokeTimeLimit() (value int) {
tl_config_gen.go#L1474: func (c *Config) GetRevokePmTimeLimit() (value int) {
tl_config_gen.go#L1482: func (c *Config) GetRatingEDecay() (value int) {
tl_config_gen.go#L1490: func (c *Config) GetStickersRecentLimit() (value int) {
tl_config_gen.go#L1498: func (c *Config) GetChannelsReadMediaPeriod() (value int) {
tl_config_gen.go#L1506: func (c *Config) SetTmpSessions(value int) {
tl_config_gen.go#L1513: func (c *Config) GetTmpSessions() (value int, ok bool) {
tl_config_gen.go#L1524: func (c *Config) GetCallReceiveTimeoutMs() (value int) {
tl_config_gen.go#L1532: func (c *Config) GetCallRingTimeoutMs() (value int) {
tl_config_gen.go#L1540: func (c *Config) GetCallConnectTimeoutMs() (value int) {
tl_config_gen.go#L1548: func (c *Config) GetCallPacketTimeoutMs() (value int) {
tl_config_gen.go#L1556: func (c *Config) GetMeURLPrefix() (value string) {
tl_config_gen.go#L1564: func (c *Config) SetAutoupdateURLPrefix(value string) {
tl_config_gen.go#L1571: func (c *Config) GetAutoupdateURLPrefix() (value string, ok bool) {
tl_config_gen.go#L1582: func (c *Config) SetGifSearchUsername(value string) {
tl_config_gen.go#L1589: func (c *Config) GetGifSearchUsername() (value string, ok bool) {
tl_config_gen.go#L1600: func (c *Config) SetVenueSearchUsername(value string) {
tl_config_gen.go#L1607: func (c *Config) GetVenueSearchUsername() (value string, ok bool) {
tl_config_gen.go#L1618: func (c *Config) SetImgSearchUsername(value string) {
tl_config_gen.go#L1625: func (c *Config) GetImgSearchUsername() (value string, ok bool) {
tl_config_gen.go#L1636: func (c *Config) SetStaticMapsProvider(value string) {
tl_config_gen.go#L1643: func (c *Config) GetStaticMapsProvider() (value string, ok bool) {
tl_config_gen.go#L1654: func (c *Config) GetCaptionLengthMax() (value int) {
tl_config_gen.go#L1662: func (c *Config) GetMessageLengthMax() (value int) {
tl_config_gen.go#L1670: func (c *Config) GetWebfileDCID() (value int) {
tl_config_gen.go#L1678: func (c *Config) SetSuggestedLangCode(value string) {
tl_config_gen.go#L1685: func (c *Config) GetSuggestedLangCode() (value string, ok bool) {
tl_config_gen.go#L1696: func (c *Config) SetLangPackVersion(value int) {
tl_config_gen.go#L1703: func (c *Config) GetLangPackVersion() (value int, ok bool) {
tl_config_gen.go#L1714: func (c *Config) SetBaseLangPackVersion(value int) {
tl_config_gen.go#L1721: func (c *Config) GetBaseLangPackVersion() (value int, ok bool) {
tl_config_gen.go#L1732: func (c *Config) SetReactionsDefault(value ReactionClass) {
tl_config_gen.go#L1739: func (c *Config) GetReactionsDefault() (value ReactionClass, ok bool) {
tl_config_gen.go#L1750: func (c *Config) SetAutologinToken(value string) {
tl_config_gen.go#L1757: func (c *Config) GetAutologinToken() (value string, ok bool) {
tl_help_get_config_gen.go#L146: func (c *Client) HelpGetConfig(ctx context.Context) (*Config, error) {
tl_help_get_config_gen.go#L147: var result Config
tl_registry_gen.go#L3968: ConfigTypeID: func() bin.Object { return &Config{} },
tl_server_gen.go#L6362: func (s *ServerDispatcher) OnHelpGetConfig(f func(ctx context.Context) (*Config, error)) {
github.com/gotd/td/session
session.go#L55: func ConfigFromTG(c tg.Config) Config {
session.go#L73: func (c Config) TG() tg.Config {
session.go#L74: return tg.Config{
github.com/gotd/td/telegram
cfg.go#L31: func (c *Client) Config() tg.Config {
client.go#L152: cfg: manager.NewAtomicConfig(tg.Config{
client.go#L210: c.cfg = manager.NewAtomicConfig(tg.Config{})
conn_builder.go#L21: func (c clientHandler) OnSession(cfg tg.Config, s mtproto.Session) error {
session.go#L63: func (c *Client) saveSession(cfg tg.Config, s mtproto.Session) error {
session.go#L95: func (c *Client) onSession(cfg tg.Config, s mtproto.Session) error {
github.com/gotd/td/telegram/internal/manager
conn.go#L65: cfg tg.Config
conn.go#L210: var cfg tg.Config
handler.go#L11: OnSession(cfg tg.Config, s mtproto.Session) error
handler.go#L19: func (n NoopHandler) OnSession(cfg tg.Config, s mtproto.Session) error {
sync.go#L15: func NewAtomicConfig(cfg tg.Config) *AtomicConfig {
sync.go#L22: func (c *AtomicConfig) Load() tg.Config {
sync.go#L23: return c.Value.Load().(tg.Config)
sync.go#L27: func (c *AtomicConfig) Store(cfg tg.Config) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |