video_dto

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Video

type Video struct {
	FileId       string               `json:"file_id"`
	FileUniqueId string               `json:"file_unique_id"`
	Width        int                  `json:"width"`
	Height       int                  `json:"height"`
	Duration     int                  `json:"duration"`
	Thumbnail    *utils_dto.PhotoSize `json:"thumbnail,omitempty"`
	FileName     string               `json:"file_name,omitempty"`
	MimeType     string               `json:"mime_type,omitempty"`
	FileSize     int64                `json:"file_size,omitempty"`
}

https://core.telegram.org/bots/api#video

type VideoChatEnded

type VideoChatEnded struct {
	Duration int64 `json:"duration"`
}

https://core.telegram.org/bots/api#videochatended

type VideoChatParticipantsInvited

type VideoChatParticipantsInvited struct {
	Users []user_dto.User `json:"users"`
}

https://core.telegram.org/bots/api#videochatparticipantsinvited

type VideoChatScheduled

type VideoChatScheduled struct {
	StartDate int64 `json:"start_date"`
}

https://core.telegram.org/bots/api#videochatscheduled

type VideoNote

type VideoNote struct {
	FileId       string               `json:"file_id"`
	FileUniqueId string               `json:"file_unique_id"`
	Length       int                  `json:"length"`
	Duration     int                  `json:"duration"`
	Thumbnail    *utils_dto.PhotoSize `json:"thumbnail,omitempty"`
	FileSize     int64                `json:"file_size,omitempty"`
}

https://core.telegram.org/bots/api#videonote

Jump to

Keyboard shortcuts

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