Versions in this module Expand all Collapse all v1 v1.2.1 Aug 1, 2026 v1.2.0 Jul 30, 2026 v1.1.5 Jul 23, 2026 v1.1.4 Jul 21, 2026 v1.1.3 Jul 20, 2026 v1.1.2 Jul 20, 2026 v1.1.1 Jul 19, 2026 v1.1.0 Jul 16, 2026 v1.0.0 Jul 14, 2026 Changes in this version + const AbstractMessageClassName + const AccountThemesClassName + const AccountThemesNotModifiedTypeID + const AccountThemesTypeID + const AuthClassName + const AuthPasswordTypeID + const AuthTypeID + const BigMessageTypeID + const BoolClassName + const BytesMessageTypeID + const BytesTypeID + const ClientDHInnerDataTypeID + const ConfigTypeID + const DCOptionTypeID + const DoAuthRequestTypeID + const EchoVectorRequestTypeID + const ErrorTypeID + const FalseTypeID + const FieldsMessageTypeID + const GetUpdatesRespTypeID + const Int32TypeID + const IntVectorTypeID + const InvokeWithLayerTypeID + const MessageTypeID + const NoMessageTypeID + const OkTypeID + const PingRequestTypeID + const ResponseClassName + const ResponseIDTypeID + const ResponseTextTypeID + const SMSTypeID + const SendMultipleSMSRequestTypeID + const SendRequestTypeID + const StringTypeID + const TargetsMessageTypeID + const TestBytesTypeID + const TestIntTypeID + const TestStringTypeID + const TestVectorBytesTypeID + const TestVectorIntObjectTypeID + const TestVectorIntTypeID + const TestVectorStringObjectTypeID + const TestVectorStringTypeID + const TestVectorVectorTypeID + const TextEntitiesTypeID + const TextEntityTypeBankCardNumberTypeID + const TextEntityTypeBoldTypeID + const TextEntityTypeBotCommandTypeID + const TextEntityTypeCashtagTypeID + const TextEntityTypeClassName + const TextEntityTypeCodeTypeID + const TextEntityTypeEmailAddressTypeID + const TextEntityTypeHashtagTypeID + const TextEntityTypeID + const TextEntityTypeItalicTypeID + const TextEntityTypeMentionNameTypeID + const TextEntityTypeMentionTypeID + const TextEntityTypePhoneNumberTypeID + const TextEntityTypePreCodeTypeID + const TextEntityTypePreTypeID + const TextEntityTypeStrikethroughTypeID + const TextEntityTypeTextURLTypeID + const TextEntityTypeURLTypeID + const TextEntityTypeUnderlineTypeID + const ThemeTypeID + const TrueTypeID + const UpdateTypeID + const UserAuthClassName + const UserAuthPasswordTypeID + const UserAuthTypeID + func ClassConstructorsMap() map[string][]uint32 + func NamesMap() map[string]uint32 + func TypesConstructorMap() map[uint32]func() bin.Object + func TypesMap() map[uint32]string + type AbstractMessageBox struct + AbstractMessage AbstractMessageClass + func (b *AbstractMessageBox) Decode(buf *bin.Buffer) error + func (b *AbstractMessageBox) Encode(buf *bin.Buffer) error + type AbstractMessageClass interface + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeAbstractMessage(buf *bin.Buffer) (AbstractMessageClass, error) + type AccountThemes struct + Hash int + Themes []Theme + func (*AccountThemes) TypeID() uint32 + func (*AccountThemes) TypeName() string + func (t *AccountThemes) Decode(b *bin.Buffer) error + func (t *AccountThemes) DecodeBare(b *bin.Buffer) error + func (t *AccountThemes) Encode(b *bin.Buffer) error + func (t *AccountThemes) EncodeBare(b *bin.Buffer) error + func (t *AccountThemes) GetHash() (value int) + func (t *AccountThemes) GetThemes() (value []Theme) + func (t *AccountThemes) String() string + func (t *AccountThemes) TypeInfo() tdp.Type + func (t *AccountThemes) Zero() bool + type AccountThemesBox struct + Themes AccountThemesClass + func (b *AccountThemesBox) Decode(buf *bin.Buffer) error + func (b *AccountThemesBox) Encode(buf *bin.Buffer) error + type AccountThemesClass interface + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeAccountThemes(buf *bin.Buffer) (AccountThemesClass, error) + type AccountThemesNotModified struct + func (*AccountThemesNotModified) TypeID() uint32 + func (*AccountThemesNotModified) TypeName() string + func (t *AccountThemesNotModified) Decode(b *bin.Buffer) error + func (t *AccountThemesNotModified) DecodeBare(b *bin.Buffer) error + func (t *AccountThemesNotModified) Encode(b *bin.Buffer) error + func (t *AccountThemesNotModified) EncodeBare(b *bin.Buffer) error + func (t *AccountThemesNotModified) String() string + func (t *AccountThemesNotModified) TypeInfo() tdp.Type + func (t *AccountThemesNotModified) Zero() bool + type Auth struct + Name string + func (*Auth) TypeID() uint32 + func (*Auth) TypeName() string + func (a *Auth) Decode(b *bin.Buffer) error + func (a *Auth) DecodeBare(b *bin.Buffer) error + func (a *Auth) Encode(b *bin.Buffer) error + func (a *Auth) EncodeBare(b *bin.Buffer) error + func (a *Auth) GetName() (value string) + func (a *Auth) String() string + func (a *Auth) TypeInfo() tdp.Type + func (a *Auth) Zero() bool + type AuthBox struct + Auth AuthClass + func (b *AuthBox) Decode(buf *bin.Buffer) error + func (b *AuthBox) Encode(buf *bin.Buffer) error + type AuthClass interface + GetName func() (value string) + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeAuth(buf *bin.Buffer) (AuthClass, error) + type AuthPassword struct + Name string + Password string + func (*AuthPassword) TypeID() uint32 + func (*AuthPassword) TypeName() string + func (a *AuthPassword) Decode(b *bin.Buffer) error + func (a *AuthPassword) DecodeBare(b *bin.Buffer) error + func (a *AuthPassword) Encode(b *bin.Buffer) error + func (a *AuthPassword) EncodeBare(b *bin.Buffer) error + func (a *AuthPassword) GetName() (value string) + func (a *AuthPassword) GetPassword() (value string) + func (a *AuthPassword) String() string + func (a *AuthPassword) TypeInfo() tdp.Type + func (a *AuthPassword) Zero() bool + type BigMessage struct + Count int32 + Escape bool + ID int32 + Summary bool + TargetID int32 + func (*BigMessage) TypeID() uint32 + func (*BigMessage) TypeName() string + func (b *BigMessage) Decode(buf *bin.Buffer) error + func (b *BigMessage) DecodeBare(buf *bin.Buffer) error + func (b *BigMessage) Encode(buf *bin.Buffer) error + func (b *BigMessage) EncodeBare(buf *bin.Buffer) error + func (b *BigMessage) GetCount() (value int32) + func (b *BigMessage) GetEscape() (value bool) + func (b *BigMessage) GetID() (value int32) + func (b *BigMessage) GetSummary() (value bool) + func (b *BigMessage) GetTargetID() (value int32) + func (b *BigMessage) String() string + func (b *BigMessage) TypeInfo() tdp.Type + func (b *BigMessage) Zero() bool + type BoolBox struct + Bool BoolClass + func (b *BoolBox) Decode(buf *bin.Buffer) error + func (b *BoolBox) Encode(buf *bin.Buffer) error + type BoolClass interface + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeBool(buf *bin.Buffer) (BoolClass, error) + type Bytes struct + func (*Bytes) TypeID() uint32 + func (*Bytes) TypeName() string + func (b *Bytes) Decode(buf *bin.Buffer) error + func (b *Bytes) DecodeBare(buf *bin.Buffer) error + func (b *Bytes) Encode(buf *bin.Buffer) error + func (b *Bytes) EncodeBare(buf *bin.Buffer) error + func (b *Bytes) String() string + func (b *Bytes) TypeInfo() tdp.Type + func (b *Bytes) Zero() bool + type BytesMessage struct + Data []byte + func (*BytesMessage) TypeID() uint32 + func (*BytesMessage) TypeName() string + func (b *BytesMessage) Decode(buf *bin.Buffer) error + func (b *BytesMessage) DecodeBare(buf *bin.Buffer) error + func (b *BytesMessage) Encode(buf *bin.Buffer) error + func (b *BytesMessage) EncodeBare(buf *bin.Buffer) error + func (b *BytesMessage) GetData() (value []byte) + func (b *BytesMessage) String() string + func (b *BytesMessage) TypeInfo() tdp.Type + func (b *BytesMessage) Zero() bool + type Client struct + func NewClient(invoker Invoker) *Client + func (c *Client) DoAuth(ctx context.Context) (AuthClass, error) + func (c *Client) EchoVector(ctx context.Context, ids []int) ([]int, error) + func (c *Client) Invoker() Invoker + func (c *Client) Ping(ctx context.Context, id int32) error + func (c *Client) Send(ctx context.Context, msg SMS) (*SMS, error) + func (c *Client) SendMultipleSMS(ctx context.Context, messages []SMS) error + type ClientDHInnerData struct + GB string + Nonce bin.Int128 + RetryID int64 + ServerNonce bin.Int128 + func (*ClientDHInnerData) TypeID() uint32 + func (*ClientDHInnerData) TypeName() string + func (c *ClientDHInnerData) Decode(b *bin.Buffer) error + func (c *ClientDHInnerData) DecodeBare(b *bin.Buffer) error + func (c *ClientDHInnerData) Encode(b *bin.Buffer) error + func (c *ClientDHInnerData) EncodeBare(b *bin.Buffer) error + func (c *ClientDHInnerData) GetGB() (value string) + func (c *ClientDHInnerData) GetNonce() (value bin.Int128) + func (c *ClientDHInnerData) GetRetryID() (value int64) + func (c *ClientDHInnerData) GetServerNonce() (value bin.Int128) + func (c *ClientDHInnerData) String() string + func (c *ClientDHInnerData) TypeInfo() tdp.Type + func (c *ClientDHInnerData) Zero() bool + type Config struct + AutoupdateURLPrefix string + BaseLangPackVersion int + BlockedMode bool + CallConnectTimeoutMs int + CallPacketTimeoutMs int + CallReceiveTimeoutMs int + CallRingTimeoutMs int + CaptionLengthMax int + ChannelsReadMediaPeriod int + ChatSizeMax int + DCOptions []DCOption + DCTxtDomainName string + Date int + DefaultP2PContacts bool + EditTimeLimit int + Expires int + Flags bin.Fields + ForwardedCountMax int + GifSearchUsername string + IgnorePhoneEntities bool + ImgSearchUsername string + LangPackVersion int + MeURLPrefix string + MegagroupSizeMax int + MessageLengthMax int + NotifyCloudDelayMs int + NotifyDefaultDelayMs int + OfflineBlurTimeoutMs int + OfflineIdleTimeoutMs int + OnlineCloudTimeoutMs int + OnlineUpdatePeriodMs int + PFSEnabled bool + PhonecallsEnabled bool + PinnedDialogsCountMax int + PinnedInfolderCountMax int + PreloadFeaturedStickers bool + PushChatLimit int + PushChatPeriodMs int + RatingEDecay int + RevokePmInbox bool + RevokePmTimeLimit int + RevokeTimeLimit int + SavedGifsLimit int + StaticMapsProvider string + StickersFavedLimit int + StickersRecentLimit int + SuggestedLangCode string + TestMode bool + ThisDC int + TmpSessions int + VenueSearchUsername string + WebfileDCID int + func (*Config) TypeID() uint32 + func (*Config) TypeName() string + func (c *Config) Decode(b *bin.Buffer) error + func (c *Config) DecodeBare(b *bin.Buffer) error + func (c *Config) Encode(b *bin.Buffer) error + func (c *Config) EncodeBare(b *bin.Buffer) error + func (c *Config) GetAutoupdateURLPrefix() (value string, ok bool) + func (c *Config) GetBaseLangPackVersion() (value int, ok bool) + func (c *Config) GetBlockedMode() (value bool) + func (c *Config) GetCallConnectTimeoutMs() (value int) + func (c *Config) GetCallPacketTimeoutMs() (value int) + func (c *Config) GetCallReceiveTimeoutMs() (value int) + func (c *Config) GetCallRingTimeoutMs() (value int) + func (c *Config) GetCaptionLengthMax() (value int) + func (c *Config) GetChannelsReadMediaPeriod() (value int) + func (c *Config) GetChatSizeMax() (value int) + func (c *Config) GetDCOptions() (value []DCOption) + func (c *Config) GetDCTxtDomainName() (value string) + func (c *Config) GetDate() (value int) + func (c *Config) GetDefaultP2PContacts() (value bool) + func (c *Config) GetEditTimeLimit() (value int) + func (c *Config) GetExpires() (value int) + func (c *Config) GetForwardedCountMax() (value int) + func (c *Config) GetGifSearchUsername() (value string, ok bool) + func (c *Config) GetIgnorePhoneEntities() (value bool) + func (c *Config) GetImgSearchUsername() (value string, ok bool) + func (c *Config) GetLangPackVersion() (value int, ok bool) + func (c *Config) GetMeURLPrefix() (value string) + func (c *Config) GetMegagroupSizeMax() (value int) + func (c *Config) GetMessageLengthMax() (value int) + func (c *Config) GetNotifyCloudDelayMs() (value int) + func (c *Config) GetNotifyDefaultDelayMs() (value int) + func (c *Config) GetOfflineBlurTimeoutMs() (value int) + func (c *Config) GetOfflineIdleTimeoutMs() (value int) + func (c *Config) GetOnlineCloudTimeoutMs() (value int) + func (c *Config) GetOnlineUpdatePeriodMs() (value int) + func (c *Config) GetPFSEnabled() (value bool) + func (c *Config) GetPhonecallsEnabled() (value bool) + func (c *Config) GetPinnedDialogsCountMax() (value int) + func (c *Config) GetPinnedInfolderCountMax() (value int) + func (c *Config) GetPreloadFeaturedStickers() (value bool) + func (c *Config) GetPushChatLimit() (value int) + func (c *Config) GetPushChatPeriodMs() (value int) + func (c *Config) GetRatingEDecay() (value int) + func (c *Config) GetRevokePmInbox() (value bool) + func (c *Config) GetRevokePmTimeLimit() (value int) + func (c *Config) GetRevokeTimeLimit() (value int) + func (c *Config) GetSavedGifsLimit() (value int) + func (c *Config) GetStaticMapsProvider() (value string, ok bool) + func (c *Config) GetStickersFavedLimit() (value int) + func (c *Config) GetStickersRecentLimit() (value int) + func (c *Config) GetSuggestedLangCode() (value string, ok bool) + func (c *Config) GetTestMode() (value bool) + func (c *Config) GetThisDC() (value int) + func (c *Config) GetTmpSessions() (value int, ok bool) + func (c *Config) GetVenueSearchUsername() (value string, ok bool) + func (c *Config) GetWebfileDCID() (value int) + func (c *Config) SetAutoupdateURLPrefix(value string) + func (c *Config) SetBaseLangPackVersion(value int) + func (c *Config) SetBlockedMode(value bool) + func (c *Config) SetDefaultP2PContacts(value bool) + func (c *Config) SetFlags() + func (c *Config) SetGifSearchUsername(value string) + func (c *Config) SetIgnorePhoneEntities(value bool) + func (c *Config) SetImgSearchUsername(value string) + func (c *Config) SetLangPackVersion(value int) + func (c *Config) SetPFSEnabled(value bool) + func (c *Config) SetPhonecallsEnabled(value bool) + func (c *Config) SetPreloadFeaturedStickers(value bool) + func (c *Config) SetRevokePmInbox(value bool) + func (c *Config) SetStaticMapsProvider(value string) + func (c *Config) SetSuggestedLangCode(value string) + func (c *Config) SetTmpSessions(value int) + func (c *Config) SetVenueSearchUsername(value string) + func (c *Config) String() string + func (c *Config) TypeInfo() tdp.Type + func (c *Config) Zero() bool + type DCOption struct + CDN bool + Flags bin.Fields + ID int + IPAddress string + Ipv6 bool + MediaOnly bool + Port int + Secret []byte + Static bool + TCPObfuscatedOnly bool + func (*DCOption) TypeID() uint32 + func (*DCOption) TypeName() string + func (d *DCOption) Decode(b *bin.Buffer) error + func (d *DCOption) DecodeBare(b *bin.Buffer) error + func (d *DCOption) Encode(b *bin.Buffer) error + func (d *DCOption) EncodeBare(b *bin.Buffer) error + func (d *DCOption) GetCDN() (value bool) + func (d *DCOption) GetID() (value int) + func (d *DCOption) GetIPAddress() (value string) + func (d *DCOption) GetIpv6() (value bool) + func (d *DCOption) GetMediaOnly() (value bool) + func (d *DCOption) GetPort() (value int) + func (d *DCOption) GetSecret() (value []byte, ok bool) + func (d *DCOption) GetStatic() (value bool) + func (d *DCOption) GetTCPObfuscatedOnly() (value bool) + func (d *DCOption) SetCDN(value bool) + func (d *DCOption) SetFlags() + func (d *DCOption) SetIpv6(value bool) + func (d *DCOption) SetMediaOnly(value bool) + func (d *DCOption) SetSecret(value []byte) + func (d *DCOption) SetStatic(value bool) + func (d *DCOption) SetTCPObfuscatedOnly(value bool) + func (d *DCOption) String() string + func (d *DCOption) TypeInfo() tdp.Type + func (d *DCOption) Zero() bool + type DoAuthRequest struct + func (*DoAuthRequest) TypeID() uint32 + func (*DoAuthRequest) TypeName() string + func (d *DoAuthRequest) Decode(b *bin.Buffer) error + func (d *DoAuthRequest) DecodeBare(b *bin.Buffer) error + func (d *DoAuthRequest) Encode(b *bin.Buffer) error + func (d *DoAuthRequest) EncodeBare(b *bin.Buffer) error + func (d *DoAuthRequest) String() string + func (d *DoAuthRequest) TypeInfo() tdp.Type + func (d *DoAuthRequest) Zero() bool + type EchoVectorRequest struct + IDs []int + func (*EchoVectorRequest) TypeID() uint32 + func (*EchoVectorRequest) TypeName() string + func (e *EchoVectorRequest) Decode(b *bin.Buffer) error + func (e *EchoVectorRequest) DecodeBare(b *bin.Buffer) error + func (e *EchoVectorRequest) Encode(b *bin.Buffer) error + func (e *EchoVectorRequest) EncodeBare(b *bin.Buffer) error + func (e *EchoVectorRequest) GetIDs() (value []int) + func (e *EchoVectorRequest) String() string + func (e *EchoVectorRequest) TypeInfo() tdp.Type + func (e *EchoVectorRequest) Zero() bool + type Error struct + Code int32 + Message string + Temporary bool + func (*Error) TypeID() uint32 + func (*Error) TypeName() string + func (e *Error) Decode(b *bin.Buffer) error + func (e *Error) DecodeBare(b *bin.Buffer) error + func (e *Error) Encode(b *bin.Buffer) error + func (e *Error) EncodeBare(b *bin.Buffer) error + func (e *Error) GetCode() (value int32) + func (e *Error) GetMessage() (value string) + func (e *Error) GetTemporary() (value bool) + func (e *Error) String() string + func (e *Error) TypeInfo() tdp.Type + func (e *Error) Zero() bool + type False struct + func (*False) TypeID() uint32 + func (*False) TypeName() string + func (f *False) Decode(b *bin.Buffer) error + func (f *False) DecodeBare(b *bin.Buffer) error + func (f *False) Encode(b *bin.Buffer) error + func (f *False) EncodeBare(b *bin.Buffer) error + func (f *False) String() string + func (f *False) TypeInfo() tdp.Type + func (f *False) Zero() bool + type FieldsMessage struct + Escape bool + Flags bin.Fields + TTLSeconds int + func (*FieldsMessage) TypeID() uint32 + func (*FieldsMessage) TypeName() string + func (f *FieldsMessage) Decode(b *bin.Buffer) error + func (f *FieldsMessage) DecodeBare(b *bin.Buffer) error + func (f *FieldsMessage) Encode(b *bin.Buffer) error + func (f *FieldsMessage) EncodeBare(b *bin.Buffer) error + func (f *FieldsMessage) GetEscape() (value bool, ok bool) + func (f *FieldsMessage) GetTTLSeconds() (value int, ok bool) + func (f *FieldsMessage) SetEscape(value bool) + func (f *FieldsMessage) SetFlags() + func (f *FieldsMessage) SetTTLSeconds(value int) + func (f *FieldsMessage) String() string + func (f *FieldsMessage) TypeInfo() tdp.Type + func (f *FieldsMessage) Zero() bool + type GetUpdatesResp struct + Updates []AbstractMessageClass + func (*GetUpdatesResp) TypeID() uint32 + func (*GetUpdatesResp) TypeName() string + func (g *GetUpdatesResp) Decode(b *bin.Buffer) error + func (g *GetUpdatesResp) DecodeBare(b *bin.Buffer) error + func (g *GetUpdatesResp) Encode(b *bin.Buffer) error + func (g *GetUpdatesResp) EncodeBare(b *bin.Buffer) error + func (g *GetUpdatesResp) GetUpdates() (value []AbstractMessageClass) + func (g *GetUpdatesResp) String() string + func (g *GetUpdatesResp) TypeInfo() tdp.Type + func (g *GetUpdatesResp) Zero() bool + type Int32 struct + func (*Int32) TypeID() uint32 + func (*Int32) TypeName() string + func (i *Int32) Decode(b *bin.Buffer) error + func (i *Int32) DecodeBare(b *bin.Buffer) error + func (i *Int32) Encode(b *bin.Buffer) error + func (i *Int32) EncodeBare(b *bin.Buffer) error + func (i *Int32) String() string + func (i *Int32) TypeInfo() tdp.Type + func (i *Int32) Zero() bool + type IntVector struct + Elems []int + func (*IntVector) TypeID() uint32 + func (*IntVector) TypeName() string + func (vec *IntVector) Decode(b *bin.Buffer) error + func (vec *IntVector) DecodeBare(b *bin.Buffer) error + func (vec *IntVector) Encode(b *bin.Buffer) error + func (vec *IntVector) EncodeBare(b *bin.Buffer) error + func (vec *IntVector) GetElems() (value []int) + func (vec *IntVector) String() string + func (vec *IntVector) TypeInfo() tdp.Type + func (vec *IntVector) Zero() bool + type InvokeWithLayer struct + Layer int + Query bin.Object + func (*InvokeWithLayer) TypeID() uint32 + func (*InvokeWithLayer) TypeName() string + func (i *InvokeWithLayer) Decode(b *bin.Buffer) error + func (i *InvokeWithLayer) DecodeBare(b *bin.Buffer) error + func (i *InvokeWithLayer) Encode(b *bin.Buffer) error + func (i *InvokeWithLayer) EncodeBare(b *bin.Buffer) error + func (i *InvokeWithLayer) GetLayer() (value int) + func (i *InvokeWithLayer) GetQuery() (value bin.Object) + func (i *InvokeWithLayer) String() string + func (i *InvokeWithLayer) TypeInfo() tdp.Type + func (i *InvokeWithLayer) Zero() bool + type Invoker interface + Invoke func(ctx context.Context, input bin.Encoder, output bin.Decoder) error + type Message struct + Err Error + func (*Message) TypeID() uint32 + func (*Message) TypeName() string + func (m *Message) Decode(b *bin.Buffer) error + func (m *Message) DecodeBare(b *bin.Buffer) error + func (m *Message) Encode(b *bin.Buffer) error + func (m *Message) EncodeBare(b *bin.Buffer) error + func (m *Message) GetErr() (value Error) + func (m *Message) String() string + func (m *Message) TypeInfo() tdp.Type + func (m *Message) Zero() bool + type NoMessage struct + func (*NoMessage) TypeID() uint32 + func (*NoMessage) TypeName() string + func (n *NoMessage) Decode(b *bin.Buffer) error + func (n *NoMessage) DecodeBare(b *bin.Buffer) error + func (n *NoMessage) Encode(b *bin.Buffer) error + func (n *NoMessage) EncodeBare(b *bin.Buffer) error + func (n *NoMessage) String() string + func (n *NoMessage) TypeInfo() tdp.Type + func (n *NoMessage) Zero() bool + type Ok struct + func (*Ok) TypeID() uint32 + func (*Ok) TypeName() string + func (o *Ok) Decode(b *bin.Buffer) error + func (o *Ok) DecodeBare(b *bin.Buffer) error + func (o *Ok) Encode(b *bin.Buffer) error + func (o *Ok) EncodeBare(b *bin.Buffer) error + func (o *Ok) String() string + func (o *Ok) TypeInfo() tdp.Type + func (o *Ok) Zero() bool + type PingRequest struct + ID int32 + func (*PingRequest) TypeID() uint32 + func (*PingRequest) TypeName() string + func (p *PingRequest) Decode(b *bin.Buffer) error + func (p *PingRequest) DecodeBare(b *bin.Buffer) error + func (p *PingRequest) Encode(b *bin.Buffer) error + func (p *PingRequest) EncodeBare(b *bin.Buffer) error + func (p *PingRequest) GetID() (value int32) + func (p *PingRequest) String() string + func (p *PingRequest) TypeInfo() tdp.Type + func (p *PingRequest) Zero() bool + type ResponseBox struct + Response ResponseClass + func (b *ResponseBox) Decode(buf *bin.Buffer) error + func (b *ResponseBox) Encode(buf *bin.Buffer) error + type ResponseClass interface + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeResponse(buf *bin.Buffer) (ResponseClass, error) + type ResponseID struct + ID int32 + func (*ResponseID) TypeID() uint32 + func (*ResponseID) TypeName() string + func (r *ResponseID) Decode(b *bin.Buffer) error + func (r *ResponseID) DecodeBare(b *bin.Buffer) error + func (r *ResponseID) Encode(b *bin.Buffer) error + func (r *ResponseID) EncodeBare(b *bin.Buffer) error + func (r *ResponseID) GetID() (value int32) + func (r *ResponseID) String() string + func (r *ResponseID) TypeInfo() tdp.Type + func (r *ResponseID) Zero() bool + type ResponseText struct + Text string + func (*ResponseText) TypeID() uint32 + func (*ResponseText) TypeName() string + func (r *ResponseText) Decode(b *bin.Buffer) error + func (r *ResponseText) DecodeBare(b *bin.Buffer) error + func (r *ResponseText) Encode(b *bin.Buffer) error + func (r *ResponseText) EncodeBare(b *bin.Buffer) error + func (r *ResponseText) GetText() (value string) + func (r *ResponseText) String() string + func (r *ResponseText) TypeInfo() tdp.Type + func (r *ResponseText) Zero() bool + type SMS struct + Text string + func (*SMS) TypeID() uint32 + func (*SMS) TypeName() string + func (s *SMS) Decode(b *bin.Buffer) error + func (s *SMS) DecodeBare(b *bin.Buffer) error + func (s *SMS) Encode(b *bin.Buffer) error + func (s *SMS) EncodeBare(b *bin.Buffer) error + func (s *SMS) GetText() (value string) + func (s *SMS) String() string + func (s *SMS) TypeInfo() tdp.Type + func (s *SMS) Zero() bool + type SendMultipleSMSRequest struct + Messages []SMS + func (*SendMultipleSMSRequest) TypeID() uint32 + func (*SendMultipleSMSRequest) TypeName() string + func (s *SendMultipleSMSRequest) Decode(b *bin.Buffer) error + func (s *SendMultipleSMSRequest) DecodeBare(b *bin.Buffer) error + func (s *SendMultipleSMSRequest) Encode(b *bin.Buffer) error + func (s *SendMultipleSMSRequest) EncodeBare(b *bin.Buffer) error + func (s *SendMultipleSMSRequest) GetMessages() (value []SMS) + func (s *SendMultipleSMSRequest) String() string + func (s *SendMultipleSMSRequest) TypeInfo() tdp.Type + func (s *SendMultipleSMSRequest) Zero() bool + type SendRequest struct + Msg SMS + func (*SendRequest) TypeID() uint32 + func (*SendRequest) TypeName() string + func (s *SendRequest) Decode(b *bin.Buffer) error + func (s *SendRequest) DecodeBare(b *bin.Buffer) error + func (s *SendRequest) Encode(b *bin.Buffer) error + func (s *SendRequest) EncodeBare(b *bin.Buffer) error + func (s *SendRequest) GetMsg() (value SMS) + func (s *SendRequest) String() string + func (s *SendRequest) TypeInfo() tdp.Type + func (s *SendRequest) Zero() bool + type ServerDispatcher struct + func NewServerDispatcher(fallback func(ctx context.Context, b *bin.Buffer) (bin.Encoder, error)) *ServerDispatcher + func (s *ServerDispatcher) Handle(ctx context.Context, b *bin.Buffer) (bin.Encoder, error) + func (s *ServerDispatcher) OnDoAuth(f func(ctx context.Context) (AuthClass, error)) + func (s *ServerDispatcher) OnEchoVector(f func(ctx context.Context, ids []int) ([]int, error)) + func (s *ServerDispatcher) OnPing(f func(ctx context.Context, id int32) error) + func (s *ServerDispatcher) OnSend(f func(ctx context.Context, msg SMS) (*SMS, error)) + func (s *ServerDispatcher) OnSendMultipleSMS(f func(ctx context.Context, messages []SMS) error) + type String struct + func (*String) TypeID() uint32 + func (*String) TypeName() string + func (s *String) Decode(b *bin.Buffer) error + func (s *String) DecodeBare(b *bin.Buffer) error + func (s *String) Encode(b *bin.Buffer) error + func (s *String) EncodeBare(b *bin.Buffer) error + func (s *String) String() string + func (s *String) TypeInfo() tdp.Type + func (s *String) Zero() bool + type TargetsMessage struct + Targets []int32 + func (*TargetsMessage) TypeID() uint32 + func (*TargetsMessage) TypeName() string + func (t *TargetsMessage) Decode(b *bin.Buffer) error + func (t *TargetsMessage) DecodeBare(b *bin.Buffer) error + func (t *TargetsMessage) Encode(b *bin.Buffer) error + func (t *TargetsMessage) EncodeBare(b *bin.Buffer) error + func (t *TargetsMessage) GetTargets() (value []int32) + func (t *TargetsMessage) String() string + func (t *TargetsMessage) TypeInfo() tdp.Type + func (t *TargetsMessage) Zero() bool + type TestBytes struct + Value []byte + func (*TestBytes) TypeID() uint32 + func (*TestBytes) TypeName() string + func (t *TestBytes) Decode(b *bin.Buffer) error + func (t *TestBytes) DecodeBare(b *bin.Buffer) error + func (t *TestBytes) Encode(b *bin.Buffer) error + func (t *TestBytes) EncodeBare(b *bin.Buffer) error + func (t *TestBytes) GetValue() (value []byte) + func (t *TestBytes) String() string + func (t *TestBytes) TypeInfo() tdp.Type + func (t *TestBytes) Zero() bool + type TestInt struct + Value int32 + func (*TestInt) TypeID() uint32 + func (*TestInt) TypeName() string + func (t *TestInt) Decode(b *bin.Buffer) error + func (t *TestInt) DecodeBare(b *bin.Buffer) error + func (t *TestInt) Encode(b *bin.Buffer) error + func (t *TestInt) EncodeBare(b *bin.Buffer) error + func (t *TestInt) GetValue() (value int32) + func (t *TestInt) String() string + func (t *TestInt) TypeInfo() tdp.Type + func (t *TestInt) Zero() bool + type TestString struct + Value string + func (*TestString) TypeID() uint32 + func (*TestString) TypeName() string + func (t *TestString) Decode(b *bin.Buffer) error + func (t *TestString) DecodeBare(b *bin.Buffer) error + func (t *TestString) Encode(b *bin.Buffer) error + func (t *TestString) EncodeBare(b *bin.Buffer) error + func (t *TestString) GetValue() (value string) + func (t *TestString) String() string + func (t *TestString) TypeInfo() tdp.Type + func (t *TestString) Zero() bool + type TestVectorBytes struct + Value [][]byte + func (*TestVectorBytes) TypeID() uint32 + func (*TestVectorBytes) TypeName() string + func (t *TestVectorBytes) Decode(b *bin.Buffer) error + func (t *TestVectorBytes) DecodeBare(b *bin.Buffer) error + func (t *TestVectorBytes) Encode(b *bin.Buffer) error + func (t *TestVectorBytes) EncodeBare(b *bin.Buffer) error + func (t *TestVectorBytes) GetValue() (value [][]byte) + func (t *TestVectorBytes) String() string + func (t *TestVectorBytes) TypeInfo() tdp.Type + func (t *TestVectorBytes) Zero() bool + type TestVectorInt struct + Value []int32 + func (*TestVectorInt) TypeID() uint32 + func (*TestVectorInt) TypeName() string + func (t *TestVectorInt) Decode(b *bin.Buffer) error + func (t *TestVectorInt) DecodeBare(b *bin.Buffer) error + func (t *TestVectorInt) Encode(b *bin.Buffer) error + func (t *TestVectorInt) EncodeBare(b *bin.Buffer) error + func (t *TestVectorInt) GetValue() (value []int32) + func (t *TestVectorInt) String() string + func (t *TestVectorInt) TypeInfo() tdp.Type + func (t *TestVectorInt) Zero() bool + type TestVectorIntObject struct + Value []TestInt + func (*TestVectorIntObject) TypeID() uint32 + func (*TestVectorIntObject) TypeName() string + func (t *TestVectorIntObject) Decode(b *bin.Buffer) error + func (t *TestVectorIntObject) DecodeBare(b *bin.Buffer) error + func (t *TestVectorIntObject) Encode(b *bin.Buffer) error + func (t *TestVectorIntObject) EncodeBare(b *bin.Buffer) error + func (t *TestVectorIntObject) GetValue() (value []TestInt) + func (t *TestVectorIntObject) String() string + func (t *TestVectorIntObject) TypeInfo() tdp.Type + func (t *TestVectorIntObject) Zero() bool + type TestVectorString struct + Value []string + func (*TestVectorString) TypeID() uint32 + func (*TestVectorString) TypeName() string + func (t *TestVectorString) Decode(b *bin.Buffer) error + func (t *TestVectorString) DecodeBare(b *bin.Buffer) error + func (t *TestVectorString) Encode(b *bin.Buffer) error + func (t *TestVectorString) EncodeBare(b *bin.Buffer) error + func (t *TestVectorString) GetValue() (value []string) + func (t *TestVectorString) String() string + func (t *TestVectorString) TypeInfo() tdp.Type + func (t *TestVectorString) Zero() bool + type TestVectorStringObject struct + Value []TestString + func (*TestVectorStringObject) TypeID() uint32 + func (*TestVectorStringObject) TypeName() string + func (t *TestVectorStringObject) Decode(b *bin.Buffer) error + func (t *TestVectorStringObject) DecodeBare(b *bin.Buffer) error + func (t *TestVectorStringObject) Encode(b *bin.Buffer) error + func (t *TestVectorStringObject) EncodeBare(b *bin.Buffer) error + func (t *TestVectorStringObject) GetValue() (value []TestString) + func (t *TestVectorStringObject) String() string + func (t *TestVectorStringObject) TypeInfo() tdp.Type + func (t *TestVectorStringObject) Zero() bool + type TestVectorVector struct + Value [][]string + func (*TestVectorVector) TypeID() uint32 + func (*TestVectorVector) TypeName() string + func (t *TestVectorVector) Decode(b *bin.Buffer) error + func (t *TestVectorVector) DecodeBare(b *bin.Buffer) error + func (t *TestVectorVector) Encode(b *bin.Buffer) error + func (t *TestVectorVector) EncodeBare(b *bin.Buffer) error + func (t *TestVectorVector) GetValue() (value [][]string) + func (t *TestVectorVector) String() string + func (t *TestVectorVector) TypeInfo() tdp.Type + func (t *TestVectorVector) Zero() bool + type TextEntities struct + Entities []TextEntity + func (*TextEntities) TypeID() uint32 + func (*TextEntities) TypeName() string + func (t *TextEntities) Decode(b *bin.Buffer) error + func (t *TextEntities) DecodeBare(b *bin.Buffer) error + func (t *TextEntities) Encode(b *bin.Buffer) error + func (t *TextEntities) EncodeBare(b *bin.Buffer) error + func (t *TextEntities) GetEntities() (value []TextEntity) + func (t *TextEntities) String() string + func (t *TextEntities) TypeInfo() tdp.Type + func (t *TextEntities) Zero() bool + type TextEntity struct + Length int32 + Offset int32 + Type TextEntityTypeClass + func (*TextEntity) TypeID() uint32 + func (*TextEntity) TypeName() string + func (t *TextEntity) Decode(b *bin.Buffer) error + func (t *TextEntity) DecodeBare(b *bin.Buffer) error + func (t *TextEntity) Encode(b *bin.Buffer) error + func (t *TextEntity) EncodeBare(b *bin.Buffer) error + func (t *TextEntity) GetLength() (value int32) + func (t *TextEntity) GetOffset() (value int32) + func (t *TextEntity) GetType() (value TextEntityTypeClass) + func (t *TextEntity) String() string + func (t *TextEntity) TypeInfo() tdp.Type + func (t *TextEntity) Zero() bool + type TextEntityTypeBankCardNumber struct + func (*TextEntityTypeBankCardNumber) TypeID() uint32 + func (*TextEntityTypeBankCardNumber) TypeName() string + func (t *TextEntityTypeBankCardNumber) Decode(b *bin.Buffer) error + func (t *TextEntityTypeBankCardNumber) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeBankCardNumber) Encode(b *bin.Buffer) error + func (t *TextEntityTypeBankCardNumber) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeBankCardNumber) String() string + func (t *TextEntityTypeBankCardNumber) TypeInfo() tdp.Type + func (t *TextEntityTypeBankCardNumber) Zero() bool + type TextEntityTypeBold struct + func (*TextEntityTypeBold) TypeID() uint32 + func (*TextEntityTypeBold) TypeName() string + func (t *TextEntityTypeBold) Decode(b *bin.Buffer) error + func (t *TextEntityTypeBold) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeBold) Encode(b *bin.Buffer) error + func (t *TextEntityTypeBold) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeBold) String() string + func (t *TextEntityTypeBold) TypeInfo() tdp.Type + func (t *TextEntityTypeBold) Zero() bool + type TextEntityTypeBotCommand struct + func (*TextEntityTypeBotCommand) TypeID() uint32 + func (*TextEntityTypeBotCommand) TypeName() string + func (t *TextEntityTypeBotCommand) Decode(b *bin.Buffer) error + func (t *TextEntityTypeBotCommand) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeBotCommand) Encode(b *bin.Buffer) error + func (t *TextEntityTypeBotCommand) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeBotCommand) String() string + func (t *TextEntityTypeBotCommand) TypeInfo() tdp.Type + func (t *TextEntityTypeBotCommand) Zero() bool + type TextEntityTypeBox struct + TextEntityType TextEntityTypeClass + func (b *TextEntityTypeBox) Decode(buf *bin.Buffer) error + func (b *TextEntityTypeBox) Encode(buf *bin.Buffer) error + type TextEntityTypeCashtag struct + func (*TextEntityTypeCashtag) TypeID() uint32 + func (*TextEntityTypeCashtag) TypeName() string + func (t *TextEntityTypeCashtag) Decode(b *bin.Buffer) error + func (t *TextEntityTypeCashtag) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeCashtag) Encode(b *bin.Buffer) error + func (t *TextEntityTypeCashtag) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeCashtag) String() string + func (t *TextEntityTypeCashtag) TypeInfo() tdp.Type + func (t *TextEntityTypeCashtag) Zero() bool + type TextEntityTypeClass interface + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeTextEntityType(buf *bin.Buffer) (TextEntityTypeClass, error) + type TextEntityTypeCode struct + func (*TextEntityTypeCode) TypeID() uint32 + func (*TextEntityTypeCode) TypeName() string + func (t *TextEntityTypeCode) Decode(b *bin.Buffer) error + func (t *TextEntityTypeCode) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeCode) Encode(b *bin.Buffer) error + func (t *TextEntityTypeCode) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeCode) String() string + func (t *TextEntityTypeCode) TypeInfo() tdp.Type + func (t *TextEntityTypeCode) Zero() bool + type TextEntityTypeEmailAddress struct + func (*TextEntityTypeEmailAddress) TypeID() uint32 + func (*TextEntityTypeEmailAddress) TypeName() string + func (t *TextEntityTypeEmailAddress) Decode(b *bin.Buffer) error + func (t *TextEntityTypeEmailAddress) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeEmailAddress) Encode(b *bin.Buffer) error + func (t *TextEntityTypeEmailAddress) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeEmailAddress) String() string + func (t *TextEntityTypeEmailAddress) TypeInfo() tdp.Type + func (t *TextEntityTypeEmailAddress) Zero() bool + type TextEntityTypeHashtag struct + func (*TextEntityTypeHashtag) TypeID() uint32 + func (*TextEntityTypeHashtag) TypeName() string + func (t *TextEntityTypeHashtag) Decode(b *bin.Buffer) error + func (t *TextEntityTypeHashtag) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeHashtag) Encode(b *bin.Buffer) error + func (t *TextEntityTypeHashtag) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeHashtag) String() string + func (t *TextEntityTypeHashtag) TypeInfo() tdp.Type + func (t *TextEntityTypeHashtag) Zero() bool + type TextEntityTypeItalic struct + func (*TextEntityTypeItalic) TypeID() uint32 + func (*TextEntityTypeItalic) TypeName() string + func (t *TextEntityTypeItalic) Decode(b *bin.Buffer) error + func (t *TextEntityTypeItalic) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeItalic) Encode(b *bin.Buffer) error + func (t *TextEntityTypeItalic) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeItalic) String() string + func (t *TextEntityTypeItalic) TypeInfo() tdp.Type + func (t *TextEntityTypeItalic) Zero() bool + type TextEntityTypeMention struct + func (*TextEntityTypeMention) TypeID() uint32 + func (*TextEntityTypeMention) TypeName() string + func (t *TextEntityTypeMention) Decode(b *bin.Buffer) error + func (t *TextEntityTypeMention) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeMention) Encode(b *bin.Buffer) error + func (t *TextEntityTypeMention) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeMention) String() string + func (t *TextEntityTypeMention) TypeInfo() tdp.Type + func (t *TextEntityTypeMention) Zero() bool + type TextEntityTypeMentionName struct + UserID int32 + func (*TextEntityTypeMentionName) TypeID() uint32 + func (*TextEntityTypeMentionName) TypeName() string + func (t *TextEntityTypeMentionName) Decode(b *bin.Buffer) error + func (t *TextEntityTypeMentionName) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeMentionName) Encode(b *bin.Buffer) error + func (t *TextEntityTypeMentionName) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeMentionName) GetUserID() (value int32) + func (t *TextEntityTypeMentionName) String() string + func (t *TextEntityTypeMentionName) TypeInfo() tdp.Type + func (t *TextEntityTypeMentionName) Zero() bool + type TextEntityTypePhoneNumber struct + func (*TextEntityTypePhoneNumber) TypeID() uint32 + func (*TextEntityTypePhoneNumber) TypeName() string + func (t *TextEntityTypePhoneNumber) Decode(b *bin.Buffer) error + func (t *TextEntityTypePhoneNumber) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypePhoneNumber) Encode(b *bin.Buffer) error + func (t *TextEntityTypePhoneNumber) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypePhoneNumber) String() string + func (t *TextEntityTypePhoneNumber) TypeInfo() tdp.Type + func (t *TextEntityTypePhoneNumber) Zero() bool + type TextEntityTypePre struct + func (*TextEntityTypePre) TypeID() uint32 + func (*TextEntityTypePre) TypeName() string + func (t *TextEntityTypePre) Decode(b *bin.Buffer) error + func (t *TextEntityTypePre) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypePre) Encode(b *bin.Buffer) error + func (t *TextEntityTypePre) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypePre) String() string + func (t *TextEntityTypePre) TypeInfo() tdp.Type + func (t *TextEntityTypePre) Zero() bool + type TextEntityTypePreCode struct + Language string + func (*TextEntityTypePreCode) TypeID() uint32 + func (*TextEntityTypePreCode) TypeName() string + func (t *TextEntityTypePreCode) Decode(b *bin.Buffer) error + func (t *TextEntityTypePreCode) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypePreCode) Encode(b *bin.Buffer) error + func (t *TextEntityTypePreCode) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypePreCode) GetLanguage() (value string) + func (t *TextEntityTypePreCode) String() string + func (t *TextEntityTypePreCode) TypeInfo() tdp.Type + func (t *TextEntityTypePreCode) Zero() bool + type TextEntityTypeStrikethrough struct + func (*TextEntityTypeStrikethrough) TypeID() uint32 + func (*TextEntityTypeStrikethrough) TypeName() string + func (t *TextEntityTypeStrikethrough) Decode(b *bin.Buffer) error + func (t *TextEntityTypeStrikethrough) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeStrikethrough) Encode(b *bin.Buffer) error + func (t *TextEntityTypeStrikethrough) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeStrikethrough) String() string + func (t *TextEntityTypeStrikethrough) TypeInfo() tdp.Type + func (t *TextEntityTypeStrikethrough) Zero() bool + type TextEntityTypeTextURL struct + URL string + func (*TextEntityTypeTextURL) TypeID() uint32 + func (*TextEntityTypeTextURL) TypeName() string + func (t *TextEntityTypeTextURL) Decode(b *bin.Buffer) error + func (t *TextEntityTypeTextURL) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeTextURL) Encode(b *bin.Buffer) error + func (t *TextEntityTypeTextURL) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeTextURL) GetURL() (value string) + func (t *TextEntityTypeTextURL) String() string + func (t *TextEntityTypeTextURL) TypeInfo() tdp.Type + func (t *TextEntityTypeTextURL) Zero() bool + type TextEntityTypeURL struct + func (*TextEntityTypeURL) TypeID() uint32 + func (*TextEntityTypeURL) TypeName() string + func (t *TextEntityTypeURL) Decode(b *bin.Buffer) error + func (t *TextEntityTypeURL) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeURL) Encode(b *bin.Buffer) error + func (t *TextEntityTypeURL) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeURL) String() string + func (t *TextEntityTypeURL) TypeInfo() tdp.Type + func (t *TextEntityTypeURL) Zero() bool + type TextEntityTypeUnderline struct + func (*TextEntityTypeUnderline) TypeID() uint32 + func (*TextEntityTypeUnderline) TypeName() string + func (t *TextEntityTypeUnderline) Decode(b *bin.Buffer) error + func (t *TextEntityTypeUnderline) DecodeBare(b *bin.Buffer) error + func (t *TextEntityTypeUnderline) Encode(b *bin.Buffer) error + func (t *TextEntityTypeUnderline) EncodeBare(b *bin.Buffer) error + func (t *TextEntityTypeUnderline) String() string + func (t *TextEntityTypeUnderline) TypeInfo() tdp.Type + func (t *TextEntityTypeUnderline) Zero() bool + type Theme struct + Name string + func (*Theme) TypeID() uint32 + func (*Theme) TypeName() string + func (t *Theme) Decode(b *bin.Buffer) error + func (t *Theme) DecodeBare(b *bin.Buffer) error + func (t *Theme) Encode(b *bin.Buffer) error + func (t *Theme) EncodeBare(b *bin.Buffer) error + func (t *Theme) GetName() (value string) + func (t *Theme) String() string + func (t *Theme) TypeInfo() tdp.Type + func (t *Theme) Zero() bool + type True struct + func (*True) TypeID() uint32 + func (*True) TypeName() string + func (t *True) Decode(b *bin.Buffer) error + func (t *True) DecodeBare(b *bin.Buffer) error + func (t *True) Encode(b *bin.Buffer) error + func (t *True) EncodeBare(b *bin.Buffer) error + func (t *True) String() string + func (t *True) TypeInfo() tdp.Type + func (t *True) Zero() bool + type Update struct + Delay int32 + Msg AbstractMessageClass + func (*Update) TypeID() uint32 + func (*Update) TypeName() string + func (u *Update) Decode(b *bin.Buffer) error + func (u *Update) DecodeBare(b *bin.Buffer) error + func (u *Update) Encode(b *bin.Buffer) error + func (u *Update) EncodeBare(b *bin.Buffer) error + func (u *Update) GetDelay() (value int32) + func (u *Update) GetMsg() (value AbstractMessageClass) + func (u *Update) String() string + func (u *Update) TypeInfo() tdp.Type + func (u *Update) Zero() bool + type UserAuth struct + Foo string + func (*UserAuth) TypeID() uint32 + func (*UserAuth) TypeName() string + func (a *UserAuth) Decode(b *bin.Buffer) error + func (a *UserAuth) DecodeBare(b *bin.Buffer) error + func (a *UserAuth) Encode(b *bin.Buffer) error + func (a *UserAuth) EncodeBare(b *bin.Buffer) error + func (a *UserAuth) GetFoo() (value string) + func (a *UserAuth) String() string + func (a *UserAuth) TypeInfo() tdp.Type + func (a *UserAuth) Zero() bool + type UserAuthBox struct + Auth UserAuthClass + func (b *UserAuthBox) Decode(buf *bin.Buffer) error + func (b *UserAuthBox) Encode(buf *bin.Buffer) error + type UserAuthClass interface + String func() string + TypeID func() uint32 + TypeName func() string + Zero func() bool + func DecodeUserAuth(buf *bin.Buffer) (UserAuthClass, error) + type UserAuthPassword struct + Pwd string + func (*UserAuthPassword) TypeID() uint32 + func (*UserAuthPassword) TypeName() string + func (a *UserAuthPassword) Decode(b *bin.Buffer) error + func (a *UserAuthPassword) DecodeBare(b *bin.Buffer) error + func (a *UserAuthPassword) Encode(b *bin.Buffer) error + func (a *UserAuthPassword) EncodeBare(b *bin.Buffer) error + func (a *UserAuthPassword) GetPwd() (value string) + func (a *UserAuthPassword) String() string + func (a *UserAuthPassword) TypeInfo() tdp.Type + func (a *UserAuthPassword) Zero() bool v0 v0.159.1-multilayer.1 Jul 14, 2026