File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
6767func (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 },
You can’t perform that action at this time.
0 commit comments