You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
340 B

#include "Telegram/MessageEntity.h"
9 years ago
Telegram::MessageEntity::MessageEntity(Json::Value json) {
this->type = json["type"].asString();
this->offset = json["offset"].asUInt64();
this->length = json["length"].asUInt64();
this->url = json["url"].asString();
}
std::string Telegram::MessageEntity::getType() {
return(this->type);
}