Skip to content

Commit 23c2ba9

Browse files
gabolaevGeorge Gabolaev
authored andcommitted
doc fix
1 parent 1969434 commit 23c2ba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (b *Bot) NewFileMessage(chatID string, file *os.File) *Message {
6363
}
6464
}
6565

66-
// NewExistingFileMessage returns new message with previously uploaded file id
66+
// NewFileMessageByFileID returns new message with previously uploaded file id
6767
func (b *Bot) NewFileMessageByFileID(chatID, fileID string) *Message {
6868
return &Message{
6969
client: b.client,
@@ -84,7 +84,7 @@ func (b *Bot) NewMessageFromPart(message PartMessage) *Message {
8484
}
8585

8686
// NewTextMessage returns new text message
87-
func (b *Bot) NewTextMessage(chatID string, text string) *Message {
87+
func (b *Bot) NewTextMessage(chatID, text string) *Message {
8888
return &Message{
8989
client: b.client,
9090
Chat: Chat{ID: chatID},

0 commit comments

Comments
 (0)