Enum MessageType
Type of a message
Namespace: TelegramBotApi.Enums
Assembly: TelegramBotApi.dll
Syntax
public enum MessageType
Fields
Name | Description |
---|---|
Audio | An audio message (treated as music, as opposed to Voice) |
ChannelChatCreated | A channel has been created (only found in messages replied to) |
Contact | A phone contact |
DeleteChatPhoto | The chat photo has been deleted |
Document | A general file |
Game | A telegram embedded game |
GroupChatCreated | A group chat has been created |
GroupMigrated | A group has been migrated to a supergroup |
Invoice | An invoice |
LeftChatMember | A member was removed from a chat |
Location | A geographic location |
NewChatMembers | New members or the bot itself have been added to a chat |
NewChatPhoto | The chat photo has been changed |
NewChatTitle | The chat title has been changed |
Photo | A photo |
PinnedMessage | A message has been pinned |
Sticker | A sticker |
SuccessfulPayment | Confirmation of a successful payment |
SupergroupChatCreated | A supergroup chat has been created (only found in messages replied to) |
Text | A text message |
Unknown | A message type that hasn't been implemented yet |
Venue | A venue |
Video | A video |
VideoNote | A video note |
Voice | A voice note (as opposed to Audio) |