telega ~master (2021-06-18T23:53:05Z)
Dub
Repo
RestrictChatMemberMethod
telega
telegram
groupchat
Undocumented in source.
struct
RestrictChatMemberMethod {
mixin
TelegramMethod
!
"/restrictChatMember"
;
ChatId
chat_id
;
uint
user_id
;
uint
until_date
;
bool
can_send_messages
;
bool
can_send_media_messages
;
bool
can_send_other_messages
;
bool
can_add_web_page_previews
;
}
Members
Mixins
__anonymous
mixin
TelegramMethod
!
"/restrictChatMember"
Undocumented in source.
Variables
can_add_web_page_previews
bool
can_add_web_page_previews
;
Undocumented in source.
can_send_media_messages
bool
can_send_media_messages
;
Undocumented in source.
can_send_messages
bool
can_send_messages
;
Undocumented in source.
can_send_other_messages
bool
can_send_other_messages
;
Undocumented in source.
chat_id
ChatId
chat_id
;
Undocumented in source.
until_date
uint
until_date
;
Undocumented in source.
user_id
uint
user_id
;
Undocumented in source.
Meta
Source
See Implementation
telega
telegram
groupchat
functions
deleteChatPhoto
deleteChatStickerSet
exportChatInviteLink
getChatAdministrators
getChatMember
getChatMembersCount
kickChatMember
leaveChat
pinChatMessage
promoteChatMember
restrictChatMember
setChatDescription
setChatPhoto
setChatStickerSet
setChatTitle
unbanChatMember
unpinChatMessage
structs
ChatMember
DeleteChatPhotoMethod
DeleteChatStickerSetMethod
ExportChatInviteLinkMethod
GetChatAdministratorsMethod
GetChatMemberMethod
GetChatMembersCountMethod
KickChatMemberMethod
LeaveChatMethod
PinChatMessageMethod
PromoteChatMemberMethod
RestrictChatMemberMethod
SetChatDescriptionMethod
SetChatPhotoMethod
SetChatStickerSetMethod
SetChatTitleMethod
UnbanChatMemberMethod
UnpinChatMessageMethod