tgx

package
v0.0.0-...-d904837 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextMessage

type TextMessage struct {
	// contains filtered or unexported fields
}

func NewTextMessage

func NewTextMessage(text string) *TextMessage

func (*TextMessage) AsEditReplyMarkupCall

func (msg *TextMessage) AsEditReplyMarkupCall(peer tg.PeerID, msgID int) *tg.EditMessageReplyMarkupCall

func (*TextMessage) AsEditReplyMarkupInlineCall

func (msg *TextMessage) AsEditReplyMarkupInlineCall(inlineMsgID string) *tg.EditMessageReplyMarkupCall

func (*TextMessage) AsEditTextCall

func (msg *TextMessage) AsEditTextCall(peer tg.PeerID, msgID int) *tg.EditMessageTextCall

func (*TextMessage) AsEditTextInlineCall

func (msg *TextMessage) AsEditTextInlineCall(inlineMsgID string) *tg.EditMessageTextCall

func (*TextMessage) AsSendCall

func (msg *TextMessage) AsSendCall(peer tg.PeerID) *tg.SendMessageCall

func (*TextMessage) DisableWebPagePreview

func (msg *TextMessage) DisableWebPagePreview(b bool) *TextMessage

func (*TextMessage) Entities

func (msg *TextMessage) Entities(entities []tg.MessageEntity) *TextMessage

func (*TextMessage) ParseMode

func (msg *TextMessage) ParseMode(pm tg.ParseMode) *TextMessage

func (*TextMessage) ReplyMarkup

func (msg *TextMessage) ReplyMarkup(rm tg.ReplyMarkup) *TextMessage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL