Skip to content

Releases: tada-team/tdproto-ts

tdproto batch update v1.33.4 - v1.34.1

29 Jun 14:55
Compare
Choose a tag to compare

Includes protocol updates from tdproto versions from v1.33.4 to 1.34.1 (both including).

https://github.com/tada-team/tdproto/releases

tdproto batch update v1.31.1 - v1.33.3

15 Jun 11:01
Compare
Choose a tag to compare

Includes protocol updates from tdproto versions from v1.31.1 to 1.33.3 (both including).

https://github.com/tada-team/tdproto/releases

Fixes missing fields from 0.6.3, update Call-related structs

02 Jun 16:16
Compare
Choose a tag to compare

Fixes missing fields that were supposed to be added in 0.6.3.

CallEvent:

  • (fix) finish is now optional
  • (fix) start is now optional
  • (feat) gentime: number
  • (feat) jid: JID
  • (feat) timestamp: number
  • (feat) uid: string
  • (feat) buzz?: boolean

ClientCallBuzzParams:

  • (fix) members is now optional

ClientCallLeaveParams:

  • (fix) reason is now optional

ClientCallRejectParams:

  • (fix) reason is now optional

ClientCallTrickleParams:

  • (fix) sdp_mid is now optional
  • (fix) sdp_mline_index is now optional

ServerCallAnswerParams:

  • (fix) candidates is now optional

ServerCallState:

  • (feat) params is now of type CallEvent

ServerCallState params is now deprecated.

Documentation, new Features fields

31 May 13:29
Compare
Choose a tag to compare

New fields:

  • Country ISO code on Country
  • support_email, app_login_background, web_login_background on Features

Deprecated:

  • background on Features

New type:

  • RGBColor - string alias

New fields in Features, blurhash and types export.

26 Apr 16:41
Compare
Choose a tag to compare

Basic types are now exported and can be consumed in your library:
UiSettings, ChatType, GroupStatus, MarkupType, Mediasubtype, Mediatype, TeamStatus, UploadMediaType, ISODateTimeString, JID, PushDeviceType, TaskFilterKey, TaskSortKey, TaskTabKey

New fields in Features:

  • background?: string Background image url, if any
  • installation_title?: string Installation title, used on login screen
  • landing_url?: string Landing page address, if any

Changes in IconData:

  • lg and sm are always present now
  • new field optional blurhash?: string Compact representation of a placeholder for an image (experimental)
  • stub is now deprecated, use with caution

New field in MessageContent:

  • blurhash?: string Compact representation of a placeholder for an image. Deprecated: use Uploads instead

New field in Upload:

  • blurhash?: string Compact representation of a placeholder for an image (images only)

Minor annotations changes.

Allow for keeping generated lines order on each regen

08 Apr 09:29
Compare
Choose a tag to compare

No breaking changes. Same regenerated code, that should now not mix lines on each regeneration.

Use server json keys for classes and interfaces field keys

08 Apr 08:08
Compare
Choose a tag to compare

Now all fields names are generated based on keys, that client receives in JSON. Keys are turned from pascal to camel case.

These keys used to be generated from fields types as they are named on the server.

Move to class syntax. Deprecate old repo. Add server fields.

06 Apr 12:19
Compare
Choose a tag to compare
  • module is moved from interface-like syntax to Classes
  • added server (pascal-cased) fields to all server structs - StructNameJSON
  • added ability to export partial server-like structs (for PUT queries, for example) - use ClassInstance.toJSON([field1, field2, ...])
  • added babel transpilation
  • moved repo to organisation scope, now at @tada-team/tdproto-ts
  • various minor fixes and improvements