type github.com/gotd/td/constant.TDLibPeerID
12 uses
github.com/gotd/td/constant (current package)
tdlib_ids.go#L27: type TDLibPeerID int64
tdlib_ids.go#L30: func (id *TDLibPeerID) User(p int64) {
tdlib_ids.go#L31: *id = TDLibPeerID(p)
tdlib_ids.go#L35: func (id *TDLibPeerID) Chat(p int64) {
tdlib_ids.go#L36: *id = TDLibPeerID(-p)
tdlib_ids.go#L40: func (id *TDLibPeerID) Channel(p int64) {
tdlib_ids.go#L41: *id = TDLibPeerID(ZeroTDLibChannelID - p) // same as ZeroTDLibChannelID + (p * -1)
tdlib_ids.go#L45: func (id TDLibPeerID) ToPlain() (r int64) {
tdlib_ids.go#L58: func (id TDLibPeerID) IsUser() bool {
tdlib_ids.go#L63: func (id TDLibPeerID) IsChat() bool {
tdlib_ids.go#L68: func (id TDLibPeerID) IsMonoforum() bool {
tdlib_ids.go#L73: func (id TDLibPeerID) IsChannel() bool {
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |