Skip to content

Commit

Permalink
restore broken responses
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Jun 1, 2021
1 parent 8d4a4da commit 9323498
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tdapi/emoji.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package tdapi

import "github.com/tada-team/tdproto"

type EmojiResp struct {
All []tdproto.Emoji `json:"all"`
}
10 changes: 10 additions & 0 deletions tdapi/releases.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package tdapi

import "github.com/tada-team/tdproto"

type ReleasesResp struct {
Android []tdproto.Dist `json:"android,omitempty"`
Linux []tdproto.Dist `json:"linux,omitempty"`
Mac []tdproto.Dist `json:"mac,omitempty"`
Win []tdproto.Dist `json:"win,omitempty"`
}
5 changes: 5 additions & 0 deletions tdapi/timezones.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package tdapi

type TimezonesResp struct {
Timezones []string `json:"timezones"`
}

0 comments on commit 9323498

Please sign in to comment.