Telegram: Allow admin to add telegram contact
Works in the same way as on the form, but can now be done in the accounts tab.
This commit is contained in:
@@ -237,3 +237,13 @@ type checkUpdateDTO struct {
|
||||
New bool `json:"new"` // Whether or not there's a new update.
|
||||
Update Update `json:"update"`
|
||||
}
|
||||
|
||||
type telegramPinDTO struct {
|
||||
Token string `json:"token" example:"A1-B2-3C"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
type telegramSetDTO struct {
|
||||
Token string `json:"token" example:"A1-B2-3C"`
|
||||
ID string `json:"id"` // Jellyfin ID of user.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user