game_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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	Title        string                             `json:"title"`
	Description  string                             `json:"description"`
	Photo        []utils_dto.PhotoSize              `json:"photo"`
	Text         string                             `json:"text,omitempty"`
	TextEntities []message_entity_dto.MessageEntity `json:"text_entities,omitempty"`
	Animation    utils_dto.Animation                `json:"animation,omitempty"`
}

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

type GameHighScore

type GameHighScore struct {
	Position int           `json:"position"`
	User     user_dto.User `json:"user"`
	Score    int           `json:"score"`
}

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

Jump to

Keyboard shortcuts

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