func (t *RpcError) Read(decoder tl.Decoder, waitress tl.Waitress, bind_uuid uuid.UUID) (err error) { t.ErrorCode, err = decoder.ReadInt() if err != nil { return } t.ErrorMessage, err = decoder.ReadString() return }
func (t *String) Read(decoder tl.Decoder, waitress tl.Waitress, bind_uuid uuid.UUID) (err error) { t.value, err = decoder.ReadString() return }