type github.com/gotd/td/tg.Message
109 uses
github.com/gotd/td/tg (current package)
tl_message_gen.go#L247: type Message struct {
tl_message_gen.go#L381: func (m Message) construct() MessageClass { return &m }
tl_message_gen.go#L385: _ bin.Encoder = &Message{}
tl_message_gen.go#L386: _ bin.Decoder = &Message{}
tl_message_gen.go#L387: _ bin.BareEncoder = &Message{}
tl_message_gen.go#L388: _ bin.BareDecoder = &Message{}
tl_message_gen.go#L390: _ MessageClass = &Message{}
tl_message_gen.go#L393: func (m *Message) Zero() bool {
tl_message_gen.go#L498: func (m *Message) String() string {
tl_message_gen.go#L502: type Alias Message
tl_message_gen.go#L507: func (m *Message) FillFrom(from interface {
tl_message_gen.go#L624: func (*Message) TypeID() uint32 {
tl_message_gen.go#L629: func (*Message) TypeName() string {
tl_message_gen.go#L634: func (m *Message) TypeInfo() tdp.Type {
tl_message_gen.go#L800: func (m *Message) SetFlags() {
tl_message_gen.go#L885: func (m *Message) Encode(b *bin.Buffer) error {
tl_message_gen.go#L894: func (m *Message) EncodeBare(b *bin.Buffer) error {
tl_message_gen.go#L1002: func (m *Message) Decode(b *bin.Buffer) error {
tl_message_gen.go#L1013: func (m *Message) DecodeBare(b *bin.Buffer) error {
tl_message_gen.go#L1191: func (m *Message) SetOut(value bool) {
tl_message_gen.go#L1202: func (m *Message) GetOut() (value bool) {
tl_message_gen.go#L1210: func (m *Message) SetMentioned(value bool) {
tl_message_gen.go#L1221: func (m *Message) GetMentioned() (value bool) {
tl_message_gen.go#L1229: func (m *Message) SetMediaUnread(value bool) {
tl_message_gen.go#L1240: func (m *Message) GetMediaUnread() (value bool) {
tl_message_gen.go#L1248: func (m *Message) SetSilent(value bool) {
tl_message_gen.go#L1259: func (m *Message) GetSilent() (value bool) {
tl_message_gen.go#L1267: func (m *Message) SetPost(value bool) {
tl_message_gen.go#L1278: func (m *Message) GetPost() (value bool) {
tl_message_gen.go#L1286: func (m *Message) SetFromScheduled(value bool) {
tl_message_gen.go#L1297: func (m *Message) GetFromScheduled() (value bool) {
tl_message_gen.go#L1305: func (m *Message) SetLegacy(value bool) {
tl_message_gen.go#L1316: func (m *Message) GetLegacy() (value bool) {
tl_message_gen.go#L1324: func (m *Message) SetEditHide(value bool) {
tl_message_gen.go#L1335: func (m *Message) GetEditHide() (value bool) {
tl_message_gen.go#L1343: func (m *Message) SetPinned(value bool) {
tl_message_gen.go#L1354: func (m *Message) GetPinned() (value bool) {
tl_message_gen.go#L1362: func (m *Message) SetNoforwards(value bool) {
tl_message_gen.go#L1373: func (m *Message) GetNoforwards() (value bool) {
tl_message_gen.go#L1381: func (m *Message) SetInvertMedia(value bool) {
tl_message_gen.go#L1392: func (m *Message) GetInvertMedia() (value bool) {
tl_message_gen.go#L1400: func (m *Message) GetID() (value int) {
tl_message_gen.go#L1408: func (m *Message) SetFromID(value PeerClass) {
tl_message_gen.go#L1415: func (m *Message) GetFromID() (value PeerClass, ok bool) {
tl_message_gen.go#L1426: func (m *Message) GetPeerID() (value PeerClass) {
tl_message_gen.go#L1434: func (m *Message) SetFwdFrom(value MessageFwdHeader) {
tl_message_gen.go#L1441: func (m *Message) GetFwdFrom() (value MessageFwdHeader, ok bool) {
tl_message_gen.go#L1452: func (m *Message) SetViaBotID(value int64) {
tl_message_gen.go#L1459: func (m *Message) GetViaBotID() (value int64, ok bool) {
tl_message_gen.go#L1470: func (m *Message) SetReplyTo(value MessageReplyHeaderClass) {
tl_message_gen.go#L1477: func (m *Message) GetReplyTo() (value MessageReplyHeaderClass, ok bool) {
tl_message_gen.go#L1488: func (m *Message) GetDate() (value int) {
tl_message_gen.go#L1496: func (m *Message) GetMessage() (value string) {
tl_message_gen.go#L1504: func (m *Message) SetMedia(value MessageMediaClass) {
tl_message_gen.go#L1511: func (m *Message) GetMedia() (value MessageMediaClass, ok bool) {
tl_message_gen.go#L1522: func (m *Message) SetReplyMarkup(value ReplyMarkupClass) {
tl_message_gen.go#L1529: func (m *Message) GetReplyMarkup() (value ReplyMarkupClass, ok bool) {
tl_message_gen.go#L1540: func (m *Message) SetEntities(value []MessageEntityClass) {
tl_message_gen.go#L1547: func (m *Message) GetEntities() (value []MessageEntityClass, ok bool) {
tl_message_gen.go#L1558: func (m *Message) SetViews(value int) {
tl_message_gen.go#L1565: func (m *Message) GetViews() (value int, ok bool) {
tl_message_gen.go#L1576: func (m *Message) SetForwards(value int) {
tl_message_gen.go#L1583: func (m *Message) GetForwards() (value int, ok bool) {
tl_message_gen.go#L1594: func (m *Message) SetReplies(value MessageReplies) {
tl_message_gen.go#L1601: func (m *Message) GetReplies() (value MessageReplies, ok bool) {
tl_message_gen.go#L1612: func (m *Message) SetEditDate(value int) {
tl_message_gen.go#L1619: func (m *Message) GetEditDate() (value int, ok bool) {
tl_message_gen.go#L1630: func (m *Message) SetPostAuthor(value string) {
tl_message_gen.go#L1637: func (m *Message) GetPostAuthor() (value string, ok bool) {
tl_message_gen.go#L1648: func (m *Message) SetGroupedID(value int64) {
tl_message_gen.go#L1655: func (m *Message) GetGroupedID() (value int64, ok bool) {
tl_message_gen.go#L1666: func (m *Message) SetReactions(value MessageReactions) {
tl_message_gen.go#L1673: func (m *Message) GetReactions() (value MessageReactions, ok bool) {
tl_message_gen.go#L1684: func (m *Message) SetRestrictionReason(value []RestrictionReason) {
tl_message_gen.go#L1691: func (m *Message) GetRestrictionReason() (value []RestrictionReason, ok bool) {
tl_message_gen.go#L1702: func (m *Message) SetTTLPeriod(value int) {
tl_message_gen.go#L1709: func (m *Message) GetTTLPeriod() (value int, ok bool) {
tl_message_gen.go#L1720: func (m *Message) MapEntities() (value MessageEntityClassArray, ok bool) {
tl_message_gen.go#L2384: func (m *Message) AsInputMessageID() *InputMessageID {
tl_message_gen.go#L2392: func (m *Message) AsInputMessageReplyTo() *InputMessageReplyTo {
tl_message_gen.go#L2466: func (m *Message) AsNotEmpty() (NotEmptyMessage, bool) {
tl_message_gen.go#L2493: v := Message{}
tl_message_slices_gen.go#L165: func (s MessageClassArray) FillMessageMap(to map[int]*Message) {
tl_message_slices_gen.go#L167: value, ok := elem.(*Message)
tl_message_slices_gen.go#L176: func (s MessageClassArray) MessageToMap() map[int]*Message {
tl_message_slices_gen.go#L177: r := make(map[int]*Message, len(s))
tl_message_slices_gen.go#L185: value, ok := elem.(*Message)
tl_message_slices_gen.go#L410: type MessageArray []Message
tl_message_slices_gen.go#L413: func (s MessageArray) Sort(less func(a, b Message) bool) MessageArray {
tl_message_slices_gen.go#L421: func (s MessageArray) SortStable(less func(a, b Message) bool) MessageArray {
tl_message_slices_gen.go#L429: func (s MessageArray) Retain(keep func(x Message) bool) MessageArray {
tl_message_slices_gen.go#L443: func (s MessageArray) First() (v Message, ok bool) {
tl_message_slices_gen.go#L451: func (s MessageArray) Last() (v Message, ok bool) {
tl_message_slices_gen.go#L459: func (s *MessageArray) PopFirst() (v Message, ok bool) {
tl_message_slices_gen.go#L469: var zero Message
tl_message_slices_gen.go#L478: func (s *MessageArray) Pop() (v Message, ok bool) {
tl_message_slices_gen.go#L493: return s.Sort(func(a, b Message) bool {
tl_message_slices_gen.go#L500: return s.SortStable(func(a, b Message) bool {
tl_message_slices_gen.go#L507: return s.Sort(func(a, b Message) bool {
tl_message_slices_gen.go#L514: return s.SortStable(func(a, b Message) bool {
tl_message_slices_gen.go#L520: func (s MessageArray) FillMap(to map[int]Message) {
tl_message_slices_gen.go#L527: func (s MessageArray) ToMap() map[int]Message {
tl_message_slices_gen.go#L528: r := make(map[int]Message, len(s))
tl_registry_gen.go#L3695: MessageTypeID: func() bin.Object { return &Message{} },
tl_updates_classifier_gen.go#L119: case *Message:
github.com/gotd/td/telegram/internal/upconv
upconv.go#L5: func convertOptional(msg *tg.Message, i tg.UpdatesClass) {
upconv.go#L43: msg := &tg.Message{
upconv.go#L73: msg := &tg.Message{
upconv.go#L100: msg := &tg.Message{
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |