Skip to content

Commit

Permalink
chore: add format for new endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliy-ukiru committed Nov 23, 2023
1 parent ce9cdc0 commit b2d0024
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions internal/endpoint_format.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,30 @@ func endpointName(endpoint string) string {
return "OnChannelPost"
case tele.OnEditedChannelPost:
return "OnEditedChannelPost"
case tele.OnTopicCreated:
return "OnTopicCreated"
case tele.OnTopicReopened:
return "OnTopicReopened"
case tele.OnTopicClosed:
return "OnTopicClosed"
case tele.OnTopicEdited:
return "OnTopicEdited"
case tele.OnGeneralTopicHidden:
return "OnGeneralTopicHidden"
case tele.OnGeneralTopicUnhidden:
return "OnGeneralTopicUnhidden"
case tele.OnWriteAccessAllowed:
return "OnWriteAccessAllowed"
case tele.OnAddedToGroup:
return "OnAddedToGroup"
case tele.OnUserJoined:
return "OnUserJoined"
case tele.OnUserLeft:
return "OnUserLeft"
case tele.OnUserShared:
return "OnUserShared"
case tele.OnChatShared:
return "OnChatShared"
case tele.OnNewGroupTitle:
return "OnNewGroupTitle"
case tele.OnNewGroupPhoto:
Expand Down

0 comments on commit b2d0024

Please sign in to comment.