Skip to content

v0.166.2

@3bl3gamer 3bl3gamer tagged this 23 Nov 19:45
Optional bool, int and string fields are now stored as pointers. If such field is unset, it will get nil (insted of zero value).

Bool fields are now bool and *bool (instead of TL_boolTrue/False).

Types with single constructors are now stored as values or pointers instead of TL interface. For example, in struct TL_inputMediaPoll the Poll field can only be of type TL_poll, and this type is used now instead of general TL.

int128 and int256 are now fixed-size arrays ([16]byte and [32]byte).

Parts of some type and field names are now uppercase according to https://google.github.io/styleguide/go/decisions.html#initialisms For example, Dc -> DC, Ids -> IDs, Ipv4 -> IPv4, savedGifs -> savedGIFs, etc.
Assets 2
Loading