Documentation ¶
Index ¶
- type TextMessage
- func (msg *TextMessage) AsEditReplyMarkupCall(peer tg.PeerID, msgID int) *tg.EditMessageReplyMarkupCall
- func (msg *TextMessage) AsEditReplyMarkupInlineCall(inlineMsgID string) *tg.EditMessageReplyMarkupCall
- func (msg *TextMessage) AsEditTextCall(peer tg.PeerID, msgID int) *tg.EditMessageTextCall
- func (msg *TextMessage) AsEditTextInlineCall(inlineMsgID string) *tg.EditMessageTextCall
- func (msg *TextMessage) AsSendCall(peer tg.PeerID) *tg.SendMessageCall
- func (msg *TextMessage) DisableWebPagePreview(b bool) *TextMessage
- func (msg *TextMessage) Entities(entities []tg.MessageEntity) *TextMessage
- func (msg *TextMessage) ParseMode(pm tg.ParseMode) *TextMessage
- func (msg *TextMessage) ReplyMarkup(rm tg.ReplyMarkup) *TextMessage
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
Click to show internal directories.
Click to hide internal directories.