-
Notifications
You must be signed in to change notification settings - Fork 1
/
audio_type.go
26 lines (21 loc) · 1.03 KB
/
audio_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package telebot
import "time"
type Performer string
type Title string
type sendAudioRequest struct {
ChatID any `json:"chat_id"`
Audio *File `json:"audio" file:"1"`
BusinessID *BusinessID `json:"business_connection_id,omitempty"`
ThreadID *MessageThreadID `json:"message_thread_id,omitempty"`
Caption *string `json:"caption,omitempty"`
ParseMode ParseMode `json:"parse_mode,omitempty"`
Entities []Entity `json:"caption_entities,omitempty"`
DisableNotification *bool `json:"disable_notification,omitempty"`
Protected *bool `json:"protect_content,omitempty"`
ReplyParameters *ReplyParameters `json:"reply_parameters,omitempty"`
ReplyMarkup ReplyMarkup `json:"reply_markup,omitempty"`
Duration time.Duration `json:"duration,omitempty"`
Performer *string `json:"performer,omitempty"`
Title *string `json:"title,omitempty"`
Thumbnail *File `json:"thumbnail,omitempty" file:"1"`
}